PushBulletSharp 3.0.1

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

Install-Package PushBulletSharp -Version 3.0.1
dotnet add package PushBulletSharp --version 3.0.1
paket add PushBulletSharp --version 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
3.0.1 (current version) 1,145 11/8/2016
3.0.0 113 11/8/2016
2.3.3 7,407 1/6/2016
2.3.2 381 10/26/2015
2.3.1 307 10/16/2015
2.3.0 171 10/15/2015
2.2.1 235 10/8/2015
2.2.0 208 10/8/2015
2.1.1 328 8/31/2015
2.1.0 255 8/23/2015
2.0.0 332 5/25/2015
1.5.0 349 3/26/2015
1.4.1 171 3/21/2015
1.4.0 360 10/19/2014
1.3.0 160 10/5/2014
1.2.1 162 9/15/2014
1.2.0 176 9/14/2014
1.1.0 176 9/14/2014
1.0.0 178 9/14/2014