Releases: spontit/spontit-api-python-wrapper
More Intuitive API Design; Control the Push Open Behavior
-> More Intuitive API Design
To provide text in a push, you can now supply one of either "content" or "push_content" (or both). Content allows you to add up to 2500 characters. We will show as much of it as we can in the push notification when it pops up. Because letters vary in size, how much we can show is unpredictable. If you want to control exactly what shows when the notification pops up, then provide a value for "push_content". "push_content" is limited to 100 characters and will appear when the notification first pops up. Once the user opens the notification, they will then see the value provided for "push_content" and for "content" (if any).
-> Control the Push Open Behavior
Control whether the notification opens to the user's home feed or to the notification on a standalone page. The default (open_in_home_feed=False) is to open the notification on a standalone page.
Push to Phone Numbers and Emails
NEW: Now you can push to users on Spontit by defining their phone numbers and emails in a call to the API.
In addition, the users you define do not have to follow your channel.
(However, they must follow your channel if you push to them by listing their username. The above exception is only true when you are defining the users by their phone number or email.)
Users who use your service simply sign up for Spontit with the same phone number or email they used to sign up with your service. Then you can push directly to them.
See Step 11(a) in the TL;DR section of the README.md to start.
Push to Specific Followers
You can now change the push title.
You can now specify specific followers. Rather than broadcast the push to everyone who follows a channel, you can now push a notification to followers you specify.
You can now list the followers' usernames for a particular channel. You can then use these usernames to specify the receivers in the push function.
Simpler Interface
Simpler interface and extended features.
NEW: Add a profile image to a channel. Delete, get, and update a channel.
Methods:
- push
- get channel
- create channel
- update channel
- delete channel
- list channels
- update channel profile image
New Features and Improvements
What's new:
- Create a channel programmatically.
- Add a subtitle to your push.
- Add a deep link to your push.
- Expire your push.
- View examples here: https://github.com/joshwolff1/spontit_api/blob/master/spontit/examples.py
Initial Release
v1.0.0 1.0.0