Sha256: 83e5127516c710b9af2842180cd3de80f9b0c4aad078384e3ade4358aacdd7cc
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
# Ruby Pushbullet API [](https://travis-ci.org/letz/ruby-pushbullet) [](https://codeclimate.com/github/letz/ruby-pushbullet) This library is an implementation of [Pushbullet API](https://docs.pushbullet.com/http) Feel free to contribute :smile: **NOTE: This is not production ready (yet).** ## Installation ``` gem install ruby-pushbullet ``` ## Configuration You can get your api token from [Account Settings](https://www.pushbullet.com/account) ```ruby Pushbullet.api_token = 'YOUR_API_TOKEN' ``` ## Usage ### Contact ```ruby # Get all contacts Pushbullet::Contact.all # create contact contact = Pushbullet::Contact.create('Name', 'example@mail.com') contact.name = 'Another name' contact.save # update ``` ### Device ```ruby # Get all devices devices = Pushbullet::Device.all # create device device = Pushbullet::Device.create('Device Name', 'stream') device.nickname = 'Another name' device.save #update ``` ### Push DOC TODO... ### Channel TODO... ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-pushbullet-0.1.1 | README.md |