11,855

Downloads

813

Downloads of v 3.0.1

11

Average downloads per day

2016-11-08

Last published

Share on Social Networks

License details

provided by Sonatype

MIT

PushBulletSharp

3.0.1

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

To install PushBulletSharp, run the following command in the Package Manager Console

Install-Package PushBulletSharp -Version 3.0.1

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

Owners

Authors

Adam Yeager

Copyright

Copyright 2016

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
PushBulletSharp 3.0.1 (this version) 813 Tuesday, November 8, 2016
PushBulletSharp 3.0.0 95 Tuesday, November 8, 2016
PushBulletSharp 2.3.3 7,366 Wednesday, January 6, 2016
PushBulletSharp 2.3.2 355 Monday, October 26, 2015
PushBulletSharp 2.3.1 283 Friday, October 16, 2015
PushBulletSharp 2.3.0 149 Thursday, October 15, 2015
PushBulletSharp 2.2.1 212 Thursday, October 8, 2015
PushBulletSharp 2.2.0 185 Thursday, October 8, 2015
PushBulletSharp 2.1.1 305 Monday, August 31, 2015
PushBulletSharp 2.1.0 231 Sunday, August 23, 2015
PushBulletSharp 2.0.0 309 Monday, May 25, 2015
PushBulletSharp 1.5.0 324 Thursday, March 26, 2015
PushBulletSharp 1.4.1 149 Saturday, March 21, 2015
PushBulletSharp 1.4.0 335 Sunday, October 19, 2014
PushBulletSharp 1.3.0 139 Sunday, October 5, 2014
PushBulletSharp 1.2.1 141 Monday, September 15, 2014
PushBulletSharp 1.2.0 154 Sunday, September 14, 2014
PushBulletSharp 1.1.0 154 Sunday, September 14, 2014
PushBulletSharp 1.0.0 156 Sunday, September 14, 2014