The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

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.