Starbucks
A Javascript interface to the (private) Starbucks ordering API
Installing
Using npm:
$ npm install starbucks-api
Usage
Creating an instance
Once you've obtained your client_id
, client_secret
, you can create an instance and authenticate yourself:
const Client = ;const sbux = '<client id>' '<client secret>'; sbux;
Example
Every method on the client returns a promise, so they can be chained together. You can order stuff, like this:
const Client = ;const Bluebird = ; const sbux = '<client id>' '<client secret>'; sbux;
License
MIT