Open Zmwang622 opened 4 years ago
This bug happens with a few of them too. Gotta figure out a smarter way to parse some classes
Blocked. @azharichenko is going to help make pitt api more robust so its easy to query to fetch all the cs courses, and he gonna host it on the web somewhere so its easy to query
right now the layers of the app look like:
wiki
shitty scraper
sci courses page
peoplesoft
after alex, its gonna look like:
WIKI 💯
graph ql query
PITT API
~ pitt api gonna abstract all that goes below this away ~
then, in the wiki all we gotta do is something like
gql {
department(eq: "CS") {
title,
id,
credits,
requirements,
termsOffered
}
}
and cache that into a json file, and then bam we hav fresh data . can even query. classes like math 280 and stuff like that too : ) , and CMP 401, stuff like that
@azharichenko @varughese Labrinidis told us at our meeting that he'll just give us any data we need.
whenever we fix this and how we get data, then we can fix the courses-template comment (look at the todo in that file)
@Zmwang622 can u cop that data for us? it would be nice to be able to get other course data like math 413 math 280 stats, etc for other things too i think?
I'll ask the next Dr. L meeting should be soon
Seems like the data for CS1906 isn't parsed correctly