Wiki

Clone wiki

BulletAPI / Home

BulletAPI

This is BulletAPI, a library to use Pushbullet service from C#

You can checkout a Desktop App using this library on: BulletSharp

New release:

Notes

UPDATED [03/06/2015] V 1.2.2

  • Updated types for posting to pushbullet

UPDATED [15/05/2014] V 1.2.1

  • Updated to use the new Pushbullet API v2

Requirements

  • VS 2010 or greater.
  • .NET Framework 4.0 or greater.

To use this DLL you need the following packages:

  • Json.NET
  • Microsoft HTTP Client Libraries

You can get these packages via NuGet package manager (when compiling this DLL NuGet download the missing packages)

UPDATED

  • Added parameter to accept all certificates (to avoid errors on Linux with Mono)

Usage

To use this DLL on other projects just add it to the references and use it:

To get the list of devices

#!c#

BulletAPI.BulletAPI.GetDevices(AcceptCert(true|false),"yourAPIKey");

To push Notes, Links, Addresses and Lists

#!c#

BulletAPI.BulletAPI.PushIt(AcceptCert(true|false),"yourAPIKey","type: note,link,address,list","id device","Message body","optional: title");

To push Files

#!c#

BulletAPI.BulletAPI.PushIt(AcceptCert(true|false),"yourAPIKey","type: file","id device","Message body","optional: title", "optional: mail", "optional: file");

Updated