pushinator-rust
A Rust library that enables developers to send push notifications seamlessly through the Pushinator API, supporting both synchronous and asynchronous operations.
Installation
Add this to your Cargo.toml:
[]
= "0.1.2"
Usage
Creating a Client
Creating a client requires you to have a valid Pushinator API token:
use PushinatorClient;
Sending Notifications
Synchronous Method
Asynchronous Method
async
Steps to Get Started
- Create a Pushinator account
- Set up a notification channel and save the Channel ID and API token
- Download the app from the App Store or Google Play to all devices you want to get notifications on
- Use the QR code in the dashboard to subscribe your devices to the channel
- Use the examples above to set up and trigger notifications