Ruby Pushbullet API

Build Status Code Climate

This library is an implementation of Pushbullet API

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

Pushbullet.api_token = 'YOUR_API_TOKEN'

Usage

Contact

# Get all contacts
Pushbullet::Contact.all

# create contact
contact = Pushbullet::Contact.create('Name', '[email protected]')
contact.name = 'Another name'
contact.save # update

Device

# 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