rmcminds / iNatle

iNaturalist guessing game pulling from recent local observations
https://thecnidaegritty.org/iNatle/
MIT License
0 stars 0 forks source link

improve api use #8

Closed rmcminds closed 2 months ago

rmcminds commented 2 months ago

either the inat api has been updated, or i missed some things in the past. apparently 'v1' is the old one, but is faster...? and both apis seem to have plenty of parameters accepted for the 'obserations/species_counts' endpoint, which does a lot of what my own code does. probably much faster to use it.

rmcminds commented 2 months ago

Opportunity here to not just improve speed and data use, but more thorough picking of organisms (I think current code just downloads 100 most recent observations - truly rare species will be even less likely to ever show up, that way.)

rmcminds commented 2 months ago

added in 46d15d6