I made an achievements app using iNat api

a few requests could get you the information you need for a lot your badges:

some of your badges would require subsequent requests, but you could determine if you even needed to make any subsequent requests by examining the data in those first responses.

i think the only badge you wouldn’t be able to determine reliably without observation-level detail is your comments badge.

note that there are 14 iconic taxa, not 10.

for your season badge, i’m not sure how you’re treating northern summers vs southern summers. it might be clearer if you labeled it as quarters.

theoretically, you could use the UTF Grid endpoint (getting the zoom level 0 grid) to quickly get an idea of which continents to check for. or if you reimagined that badge as 4 quadrants or “corners” of the world, you could get that information in 1 request. (the advantage of quadrants vs continents its also that it would cover open ocean observations.)

i assume this is related to https://forum.inaturalist.org/t/429-error-from-observations-histogram-api-when-calling-at-60-calls-minute/64709/8. more reason not to get observation-level detail, if you can avoid it.

2 Likes