PushBulletSharp 3.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package PushBulletSharp --version 3.0.1                
NuGet\Install-Package PushBulletSharp -Version 3.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PushBulletSharp" Version="3.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PushBulletSharp --version 3.0.1                
#r "nuget: PushBulletSharp, 3.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PushBulletSharp as a Cake Addin
#addin nuget:?package=PushBulletSharp&version=3.0.1

// Install PushBulletSharp as a Cake Tool
#tool nuget:?package=PushBulletSharp&version=3.0.1                

A simple C# wrapper to PushBullet's HTTP API.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0 10,980 1/24/2018
3.0.1 3,959 11/8/2016
3.0.0 1,263 11/8/2016
2.3.3 13,206 1/6/2016
2.3.2 1,715 10/26/2015
2.3.1 1,667 10/16/2015
2.3.0 1,331 10/15/2015
2.2.1 1,611 10/8/2015
2.2.0 2,070 10/8/2015
2.1.1 1,729 8/31/2015
2.1.0 1,537 8/23/2015
2.0.0 1,685 5/25/2015
1.5.0 1,591 3/26/2015
1.4.1 1,399 3/21/2015
1.4.0 1,906 10/19/2014
1.3.0 1,295 10/5/2014
1.2.1 1,304 9/15/2014
1.2.0 1,535 9/14/2014
1.1.0 1,544 9/14/2014
1.0.0 1,493 9/14/2014

PushbulletSharp version 3 is packed with tons of updates! Full support for End-to-End Encryption, Ephemerals, Chats, and the Event Stream.

End-to-End Encryption is baked into the PushbulletSharp Client. To get encryption support there is a new PushbulletClient constructor that has an additional field for the encryption password. This will be the password you put on your devices (as outlined in Pushbullet’s API documentation this password must be the same on all devices). The new constructor will automatically generate the PBKDF2 key using HMAC-SHA256. There is a static EncryptionUtility class that you can leverage if you’d like, but it is not necessary (you can just use the client and go). Sending encrypted Ephemerals can be done by using the PushEphemeral method. It has an optional boolean parameter called “encrypt.” Setting that to true will automatically encrypt your ephemeral for you as outlined by Pushbullet’s API documentation. It’s automatic; the client takes care of the encryption.

Ephemerals are finally supported. If you look at the github repo there are example unit tests that show how to use them in your application. https://github.com/adamyeager/PushbulletSharp/blob/3.0.0/PushbulletSharp.Tests/EphemeralTests.cs

Chats are also supported. Example unit tests are posted on github. https://github.com/adamyeager/PushbulletSharp/blob/3.0.0/PushbulletSharp.Tests/ChatsTests.cs

And finally I’ve built an example console application showing how to connect to Pushbullet’s Event Stream. What you choose to do in your application with the pushes and tickles is up to you. I utilized websocket-sharp on nuget.

Thank you to the users who have been opening issues on github. It’s very helpful and pushes me to update this project.

** Hotfix 3.0.1 updates the Device response object so that it has the HasSMS property. This is needed for determining what device you would like to set as the TargetDeviceIden when sending SMSEphemerals.

Checkout the GitHub wiki for more information on how to use Ephemerals. https://github.com/adamyeager/PushbulletSharp/wiki/Ephemerals