Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1008 Bytes

File metadata and controls

19 lines (13 loc) · 1008 Bytes

Postmates Logo

node-postmates Build Status Maintainability Test Coverage

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}`));