uf_api icon indicating copy to clipboard operation
uf_api copied to clipboard

Changed SOC parameter values for Summer and Fall 2018

Open wuhugh opened this issue 7 years ago • 9 comments

The endpoints for the schedule of courses are actually a bit off for Fall 2018.

In the summer the base URL is actually https://one.uf.edu/apix/soc-summer/schedule/ (this is actually the base URL for Spring too for some reason0. The term you can append the letters A, B, or C for Summer A, B, or C.

The term for Fall is 2188 and the program isn't RES for regular, but CWSP instead. https://one.ufl.edu/apix/soc/schedule/?category=CWSP&term=2188

wuhugh avatar Mar 09 '18 02:03 wuhugh

Awesome catch! I think UF is in the process of updating their API. I'll do a little more investigation and see if I can figure out everything else that's changed.

Rolstenhouse avatar Mar 11 '18 20:03 Rolstenhouse

Yeah they seem to be changing quite a bit in naming conventions. You can see some of the changes of API between https://one.uf.edu/apix/soc-summer/filters and https://one.uf.edu/apix/soc/filters

Luc-Olsthoorn avatar Mar 11 '18 23:03 Luc-Olsthoorn

Some more things that have changed for fall:

  1. The web courses used to have specific codes in the JSON("P", "H", "C", "A"); now they are all "P"
  2. The LASTROWS is now last-control-number

Luc-Olsthoorn avatar Mar 13 '18 00:03 Luc-Olsthoorn

y tho

wuhugh avatar Mar 13 '18 02:03 wuhugh

I think I made some changes to reflect it. Do you guys think I should mark that API as unstable?

Rolstenhouse avatar Mar 22 '18 21:03 Rolstenhouse

I think it's fine (maybe). I don't think they'll change the current endpoints now.

wuhugh avatar Apr 06 '18 22:04 wuhugh

https://one.uf.edu/api/myschedule/course-search/ This is another endpoint that needs the login, but it returns a similar array, but with the number of seats available there.

Luc-Olsthoorn avatar Apr 10 '18 20:04 Luc-Olsthoorn

What do we pass the login as?

wuhugh avatar Apr 11 '18 00:04 wuhugh

I think you already have to be logged in right @Luc-Olsthoorn ?

Rolstenhouse avatar Apr 16 '18 20:04 Rolstenhouse