-
Notifications
You must be signed in to change notification settings - Fork 24
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
add scraper for umd buildings #235
Comments
For the record, we don't actually have a scraper for buildings. The current data was manually (?) collected around 2017, as you've surmised. I'm 95% certain this could be scraped from https://maps.umd.edu/map/index.html, which seems to know the latitude and longitude of every building. So somewhere in its myriad of initial requests it's getting the lat/long data for all umd buildings. I just don't have the time right now to figure out exactly which url they're calling to retrieve this data. If someone else is willing to put the time into this and figure it out, please let me know and I'll likely implement a scraper for this. (eg here's one interesting endpoint it calls, though no lat/long in this one). Until we can write a scraper for this (which we definitely should), it's probably good enough to manually add buildings for now. We don't have to get 100% coverage of campus, just enough that any glaringly obvious buildings (like iribe) aren't missing. I've added iribe and pyon-chen. Please let me know of any other major buildings missing and I'll add them. |
I think Yahentamitsi, the Fernandez IDEA Factory, and Johnson-Whittle Hall should be added since they do appear on the UMD Maps webpage. Other than those buildings, I think the API response should be sufficiently up to date/future-proofed. Thanks! |
all three added. I'll keep this issue open to track writing a scraper for the buildings. |
Needs to be updated with building 433 - the School of Public Policy building |
updated |
The list of buildings returned from the main buildings endpoint (https://api.umd.io/v1/map/buildings) is very out of date - based on the buildings that do appear on the list, it appears to have been last run between 2017 and 2018.
Endpoint
https://api.umd.io/v1/map/buildings
Additional context
Discovered this bug while working on the new buildings feature for the UMD Discord bot: https://gitlab.com/nahkoots/umd-discord-bot/-/merge_requests/13/
The text was updated successfully, but these errors were encountered: