Hi everyone,
I’m building an online knowledge base for animal track identification, and for each species I’d like to also include the following info, which is very relevant for identification:
-
Distribution (map): Is this species usually present in my area?
-
Seasonality (graph): Is this species usually active this time of year?
This data is already available on the iNat taxon page, in exactly the kind of graphs I’d also want to show, so I can think of two approaches:
-
Static: Getting screenshots of the distribution map and seasonality from the iNat taxon page (with proper attribution, of course) and manually updating these every once in awhile.
-
Dynamic: Pulling this information async directly from iNat via API by passing a taxon ID, which I can add to each species via my CMS, so that it’s always up-to-date and even interactive like on iNat.
Evidently I would prefer to do it dynamically as described in option #2, but I kind of got stuck and this is where I need your help.
I’ve read the docs at api.inaturalist.org but I’m not sure how exactly to experiment with the API myself, let alone to generate a map and graph. I’ve had a look at pyinaturalist and saw that a V2 of the API is also in the works. I’ve also read that to make authenticated requests I would need to apply to create iNat applications, however my usage of the API would be read-only (just to pull and render data) because the info should be visible regardless of whether users have iNat accounts or not. Would I still need to apply for that as well?
Now, I do have some coding experience myself which is why I’m building this knowledge base myself in WordPress (PHP, MySQL, Javascript). That being said, I’m not a full-time developer by any means, so I’m reaching out for any kind of help, guidance or advice on how I can integrate the iNat distribution map and seasonality graph into my platform, especially if it’s possible to do it just via Javascript or another similar way.
I’ve already reached out to the iNat staff and they suggested I’d post a help request here for the community. Any help would be greatly appreciated!