adamyeager / PushbulletSharp

This is a simple pushbullet wrapper written in C#.
MIT License
52 stars 61 forks source link

Event Stream #20

Open cameronws opened 7 years ago

cameronws commented 7 years ago

I see a Response model WebSocketResponse exists but not implemented. Any idea when Event Streams will be implemented?

adamyeager commented 7 years ago

I know it's been a while since I've updated this project. I am actively working on making updates to match the latest version of the API. I will definitely add support for Event Streams.

adamyeager commented 7 years ago

I've been working on a major release with this project and realized that the event stream is already implemented. I am including an example console application in the next release which will be in the next day or two. If you can't wait, just ping me and I'll email you the example application or upload it as a separate repo.

adamyeager commented 7 years ago

PushbulletSharp version 3.0 will be out tonight. I'm compiling the nuget package now. Included with this release is an example console project that shows how to connect to the event stream. I used websocket-sharp to connect to Pushbullet's stream. Take a look at their documentation to see how to react to different updates.

adamyeager commented 7 years ago

Ok I'm re-opening this issue again, because I think I can add better support for the event stream. While PushbulletSharp 3 has an EncryptionUtility that has a method for decrypting ephemerals, I think the process of doing so can be a lot smoother. I will be updating the library in the next day or two to provide better support for you.