peterportal-public-api icon indicating copy to clipboard operation
peterportal-public-api copied to clipboard

Duplicate meetings due to multiple locations

Open MinhxNguyen7 opened this issue 2 years ago • 1 comments

Original: AntAlmanac/#257

When a section has more than one meeting time, the response will have multiple meetings with the same days and times but different buildings. I'm not sure whether you should modify the API, make a different endpoint, or tell me to stuff it, but I think it should be fixed on the API end.

Reproduction

  1. Query /rest/v0/schedule/soc for any course that has multiple locations, e.g., EECS 170LB.
  2. Look at the meetings array.

image

MinhxNguyen7 avatar Jan 30 '23 23:01 MinhxNguyen7