urbanairship / python-library

A Python library for using the Airship APIs for push notifications, reporting and other message types
https://docs.airship.com/api/libraries/python/
Other
82 stars 65 forks source link

Add open channel support #39

Closed mmchugh closed 7 years ago

mmchugh commented 7 years ago

Added support to create and update open channels, as well as support for specifying open channels as a push recipient, and providing overrides for open platforms.

I try to follow the conventions in place in the rest of the library, but I would appreciate feedback if anything looks out of place.

pdxmele commented 7 years ago

Can we please add an example to the docs for how to create an open channel, since we don't have other device/channel creation/registration in here yet?

mmchugh commented 7 years ago

I noticed that the build was failing for python 2.6 due to some older issues (and also newer test features in my new tests) so I fixed them, hope that's not a problem!

pdxmele commented 7 years ago

No problem at all, thank you!

mmchugh commented 7 years ago

I have added some docs on how to use the new class, hope this helps!

pdxmele commented 7 years ago

Merging, will tag up and whatnot with our next release (soon!)