Platform (Android, iOS, Website): API v1
I am accessing the API from a PHP script that runs the observation search with a per_page value of 200, plus other parameters depending on user entered values. This is part of a WordPress plugin that uses the retrieved records to create WordPress posts for each observation and related taxa. To avoid calling the API too many times, this is designed to happen once after initial configuration of the plugin and then once per day to import updates only.
The problem is that the API is not consistently returning 200 observations per call. This results in missing observations because it skips to the next 200. I have just completed a full run of the initial load script and it created 6705 observation posts, when it should have created 9213.
Below is a link to the log file created by my script showing the API calls and how many observations were returned by each. You will see that it is quite slow and there are two warnings about closed connections. These are nothing to do with this issue and are caused by me running on my laptop with a sometimes poor internet connection.