I need a script - either PHP or Python, that interacts with a point of sale API to simply pull out the data and store it in a mysql database. The API is simple however there is pagination involved for the results. The logic of the call would need to be: - Call site id. - Query + paginated Orders. - Use Order ID to pull order information. - Store all the above in a database. A php script or python script (triggerable from a website front end) is required. All api access credentials will be provided.