iobis / pyobis

OBIS Python client
https://iobis.github.io/pyobis
MIT License
14 stars 10 forks source link

Undocumented `countryid` parameter for `occurrences/grid` endpoint #54

Open ayushanand18 opened 2 years ago

ayushanand18 commented 2 years ago

Overview

While studying the network logs for OBIS mapper tool, I witnessed that there is an undocumented input parameter countryid is being used to gather occurrence records published by a particular country with the help of /occurrence/grid endpoint of the OBIS API. This parameter is absent from the Swagger docs.

Screenshot of the network log

image

Response

image It returns all the occurrence records for a particular country from its countryid code.

Questions

Should we add this parameter to pyobis

7yl4r commented 2 years ago

We shouldn't add it here without also adding it to swagger. It may not be documented intentionally. 🤷 Let's keep this open and come back around to it.

ayushanand18 commented 2 years ago

Okay. That might be a strong possibility.

7yl4r commented 1 year ago

We need to be able to submit PRs to the OBIS swagger docs before being able to make further progress on this.