pebble-api-node
A Node API library for the Pebble timeline API.
var Timeline = Timeline; var timeline = ; var userToken = '831ac9f096134d8f841b63bb5e80bda3'; var pin = id: 'test-pin-5245' time: duration: 10 layout: type: TimelinePinLayoutTypeGENERIC_PIN tinyIcon: TimelinePinIconNOTIFICATION_FLAG title: 'Pin Title' ; timeline;
Installation
npm install pebble-api --save
Examples
We have some example apps to demonstrate different uses of the library. You can find them in the examples folder.
Development
Running Tests
make test
runs testsmake test-cov
runs tests + test coveragemake open-cov
opens test coverage results in your browser