Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed SOC parameter values for Summer and Fall 2018 #3

Open
wuhugh opened this issue Mar 9, 2018 · 9 comments
Open

Changed SOC parameter values for Summer and Fall 2018 #3

wuhugh opened this issue Mar 9, 2018 · 9 comments

Comments

@wuhugh
Copy link
Contributor

wuhugh commented Mar 9, 2018

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

@Rolstenhouse
Copy link
Owner

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.

@Luc-Olsthoorn
Copy link

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
Copy link

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

@wuhugh
Copy link
Contributor Author

wuhugh commented Mar 13, 2018

y tho

@Rolstenhouse
Copy link
Owner

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

@wuhugh
Copy link
Contributor Author

wuhugh commented Apr 6, 2018

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

@Luc-Olsthoorn
Copy link

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.

@wuhugh
Copy link
Contributor Author

wuhugh commented Apr 11, 2018

What do we pass the login as?

@Rolstenhouse
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants