Quick Tutorial
Easily get all the orders from today.
In this tutorial, we'll show you how to get a list of all of today's orders.
Generate Key
It doesn't matter what language you're using, you'll be able to use this API to retrieve all the orders for the day. First, make sure you have an account and an API key:
Request Orders
Use the following code snippet to request an order:
$.get('http://sampleapi.readme.com/orders/', {key: '[[app:key]]'}, function(data) {
alert(data);
});
r = requests.get('http://sampleapi.readme.com/orders/', auth="[[app:key]]")
print r.text
var request = require('request');
request('http://sampleapi.readme.com/orders/', function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body) // Print the google web page.
}
})
curl http://sampleapi.readme.com/orders/
...Done!
That's all you need to do to get a list of all your orders! Hopefully it wasn't too hard!
Updated less than a minute ago