Push Notifications v1.x
Noteu uses a simple Push API which allows you to push messages to a device in real-time once its connected to the internet through Noteu's Desktop App. The user registration process is simple in that you need to obtain an API key or 'secret' by using your account email and password. This secret can then be used to identify you and your device allowing you to use it in every API call and successfully send messages to your device.
Steps
- Obtain your API secret by heading over to authentication.
- Choose your favorite programming langage or a request client such as http://wst.mytechlabs.com/
- Connect your Noteu to the internet via your Desktop App.
-
Make a HTTP GET request to http://api.noteu.co.uk/v1/push/send/ with the following parameters
secret
(required) - your user secretline1
(required) - 20 character string which is displayed on line 1 of the deviceline2
(required) - 20 character string which is displayed on line 2 of the deviceline3
(required) - 20 character string which is displayed on line 3 of the deviceline4
(required) - 20 character string which is displayed on line 4 of the devicebeep
(required) - "1" or "0" to activate beepersender
(optional) - sender of notifcation for example 'me'
- That's it! You can now push notifications to your device in real time. You will recieve a JSON response regarding the success of the request.