get https://api.velodro.me/cities/
Log in to see full request history
Responses
xxxxxxxxxx
11var velodrome = require("velodrome");
var api = new velodrome("YOUR_PUBLIC_KEY", "YOUR_PRIVATE_KEY");
api.getCity("CITY_ID", function (error, resource, data) {
if (error) {
throw error;
} else {
// data contains the city in a JS object
console.log(data);
}
});
Try It!
to start a request and see the response here! Or choose an example: