inbo / craywatch

Craywatch project website
https://craywatch.inbo.be
Creative Commons Attribution 4.0 International
1 stars 0 forks source link

Implement paging to get all obs via GBIF API #260

Closed damianooldoni closed 5 months ago

damianooldoni commented 5 months ago

This issue applies to both new observations (#209) and historical observations (#208).

The GBIF API returns at most 300 observations at a time. We need to implement a loop to get all the obs. It will be a while loop which ends when endOfRecords is TRUE.