Skip to content

hrysd/washbullet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • note
  • link
  • file
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

  • Push to device
  • Request push history
  • Update a push
  • Deleting a push
  • Deleting all pushes

Devices

  • Get the devices that can be pushed to
  • Create a new device
  • Update an existing device
  • Delete a device

Contacts

  • Get your contacts
  • Create a contact
  • Update a contact
  • Delete a contact

Subscriptions

  • Subscribe to a channel
  • List subscriptions
  • Unsubscribe from a channel
  • Get information about a channel

Users

  • Get the current user
  • Update the current user

Realtime Event Stream

  • Not yet

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

About

Ruby client of Pushbullet API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages