Giter Site home page Giter Site logo

myles / pushbullet Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 35 KB

A Python Library for Pushbullet.

Home Page: https://pypi.python.org/pypi/PushbulletPythonLibrary

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
python pushbullet

pushbullet's Introduction

Pushbullet Python Library

A Python library (and super simple command line app) for Pushbullet.

Documentation Status Build Status Coverage Status

Library Usage

>>> from pushbullet.pushbullet import Pushbullet
>>> pb = Pushbullet(api_key='replace-with-your-api-key')
>>>

List devices:

>>> pb.list_devices()
{u'shared_devices': [], u'devices': []}
>>>

Send a note:

>>> pb.bullet_note(device_idn, title="Hello, World!", body="This is an example note.")
{}
>>>

Command Line Usage

$ pushbullet --help
pushbullet -h
usage: pushbullet [-h] -a API_KEY [-d DEVICE]
                  [-t {note,link,address,list,file}] [-n TITLE] [-b BODY]
                  [-i ITEMS] [-f FILE] [-l]

optional arguments:
  -h, --help            show this help message and exit
  -a API_KEY, --apikey API_KEY
                        What is your Pushbullet API key?
  -d DEVICE, --device DEVICE
                        What device do you want to send the bullet to?
  -t {note,link,address,list,file}, --type {note,link,address,list,file}
                        What type of bullet do you want to send?
  -n TITLE, --name TITLE, --title TITLE
                        The title/name of the note, link, address, or list.
  -b BODY, --body BODY, --address BODY
                        The body, address of the note or additional data for a file.
  -u URL, --url URL
                        The referenced url of the link.
  -i ITEMS, --items ITEMS
                        The items in a list.
  -f FILE, --file FILE  The file to push.
  -l, --list-devices    Get a list of devices.

pushbullet's People

Contributors

myles avatar nohum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

pushbullet's Issues

Parameter "Type" is missing

Hello, I'm getting this error message constantly:
{u'error': {u'message': u'Param type is missing.', u'type': u'invalid_param', u'param': u'type'}}

I did check the code on repo and I didn't found the reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.