The NBN Atlas API often returns a lot of JSON. For non-scientific applications, much of the JSON data is not needed. This is certainly case for our simple to use React components. Therefore simple DTO's could be defined for use in components.
Lets start with the JSON returned from "Occurrence search end point" Example:
The question is, how are these response objects defined.
They should be in a separate package (common library) for use outside of the react components package, e.g for use also in an eExpo package, or perhaps a future "practice angular" package
The NBN Atlas API often returns a lot of JSON. For non-scientific applications, much of the JSON data is not needed. This is certainly case for our simple to use React components. Therefore simple DTO's could be defined for use in components.
Lets start with the JSON returned from "Occurrence search end point" Example:
https://records-ws.nbnatlas.org/occurrences/search?q=:&fq=data_provider_uid:dp7
The question is, how are these response objects defined.
Any thoughts?