-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dotnet integration #237
Comments
Step 1 Initialize the clientFirst you have to download the official SDK: https://www.nuget.org/packages/Notifo.SDK You can initialize it like this:
The api key can be found at the home page of your app. Step 2: Create a userThe next step is to create a user. Because notifications are only sent to users (either directly or indirectly):
There are a few things that make this API special:
STEP 2: Send notificationsNext we send notifications to the user. Again we use the bulk endpoint for that.
In this case we do not use any external channel like email or so. The notification is just added to the database and can be consumed by another API. You can also integrate the widget if you have a web application: https://github.com/notifo-io/notifo/wiki/Web-Plugin The API Key for that can be retrieved from the response when you create the user in step 1. This is the very basic setup. |
Notifo has a hierarchical topic system. For Example
So you subscribe the user to whatever he is interested, lets say he wants to be notified about all shoes, then you subscribe him to
Then you publish an event with a very specific topic, e.g. And all users which either subscribe to this topic or one of the parent topics (like So you have to subscribe to these events first. It should look like this:
|
No description provided.
The text was updated successfully, but these errors were encountered: