hrysd / washbullet

Ruby client of Pushbullet API
MIT License
43 stars 16 forks source link

Washbullet

Gem Version Build Status

Ruby client of Pushbullet.

Installation

$ gem install washbullet

Usage

Setup Client

client = Washbullet::Client.new('YOUR_API_KEY')

Push

You can send following list:

client.push_note(
  receiver:   :device, # :email, :channel, :client
  identifier: '<IDENTIFIER>',
  params: {
    title: 'Title',
    body:  'Contents'
  }
)

Devices

# Get own active devices
client.devices

Contacts

# Get friends list
client.contacts

Get self info

client.me

Supported API

detail: https://docs.pushbullet.com/

Pushes

Devices

Contacts

Subscriptions

Users

Realtime Event Stream

Contributing

  1. Fork it ( http://github.com/hrysd/washbullet/fork )
  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