1.9.1 • Published 5 years ago
node-postmates v1.9.1
node-postmates
Promise based Node.js client for the Postmates API.
Installation
npm install --save node-postmates
Example Usage
const { CLIENT_ID, API_KEY } = process.env;
import Postmates from 'node-postmates';
const postmates = new Postmates(CLIENT_ID, API_KEY);
return postmates.getDeliveryZones()
.then(zones => console.log(`These are zones Postmates supports: ${zones}`));