pyinat/pyinaturalist

Batch requests by ID that exceed the max URL length for GET requests

Closed this issue · 1 comments

Depending on the browser and server, the max URL length for GET requests is at minimum 2048 characters (up to 8000). Minus the average base URL length, that will be around 250 8-digit IDs.

JWCook commented

Update: it turns out that the API simply limits the number of IDs in a request to 30, so figuring out the maximum number we can fit in a GET URL is no longer needed.