Code to get all transactions for a year using the API

Hi all,

We needed to see all our transactions for last year - so I cooked up a rough PHP script to grab it from the Foxy API.

https://gist.github.com/thatericsmith/3167812515420d6140e3

It makes a call for each month, probably a much more elegant way to do with pagination.

Also could add code to automatically make a CSV file, haven't done that yet.

Thanks - hope it's useful!

eric smith <><
Comments
Sign In or Register to comment.