PittAPI icon indicating copy to clipboard operation
PittAPI copied to clipboard

Use LaundryView's JSON API instead of BeautifulSoup

Open metheno opened this issue 6 years ago • 2 comments

I found those two APIs from LaundryView. The first returns university data and the second returns room data.
https://www.laundryview.com/api/c_room?loc=197
https://www.laundryview.com/api/currentRoomData?school_desc_key=197&location=2430137

I'm new to Python but I guess that JSON would be a bit more efficient than BeautifulSoup?

metheno avatar Nov 11 '18 12:11 metheno

Woah, yeah, these are brand new. Want to make a PR to use these instead?

RitwikGupta avatar Nov 14 '18 18:11 RitwikGupta

I have found someone (@katelyn98) that will update the laundry API with the use of the APIs from Laundryview.

azharichenko avatar Feb 07 '19 20:02 azharichenko