93
Anyone tech savy enough to do something similar in Canada?
(mastodon.gamedev.place)
What's going on Canada?
๐ Meta
๐บ๏ธ Provinces / Territories
๐๏ธ Cities / Local Communities
๐ Sports
Hockey
Football (NFL)
unknown
Football (CFL)
unknown
Baseball
unknown
Basketball
unknown
Soccer
unknown
๐ป Universities
๐ต Finance / Shopping
๐ฃ๏ธ Politics
๐ Social and Culture
Reminder that the rules for lemmy.ca also apply here. See the sidebar on the homepage:
The project is Open source, so you might be able to leverage it for Canadian data. All you need is:
At the bottom of the chain on mastodon the creator says they use the search APIs of the store websites. I wouldn't have expected those to be easily accessible!
Yeah a lot of chains even have a documented, developer-friendly API. If that's not available though, you can usually figure out the API just by looking at the calls your browser makes when visiting a page. Most sites use a REST API for catalog pages that's then rendered out with JavaScript.
If that doesn't work, then you can usually scrape everything with Selenium. It's a little harder to do, but still quite manageable, though that usually has to be a background job, as it's slow.