0
How do I create notifications for my API updates
17 Antworten
+ 2
https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API/Using_the_Notifications_API
Here's a good course on notifications
+ 3
When updated, then create a notification
+ 3
Unfortunately, I do not understand API Weather. But I understand that with a return response from the API, a request for notification of this should be triggered. When the weather API returns you a new value, attach it to notification.
+ 3
Link this after line 23.
+ 3
You have not defined a notification. Define it to 23 lines.
+ 3
https://developer.chrome.com/apps/notifications
Here's another API cheat sheet
+ 2
Notifications API
+ 2
Notification.requestPermission().then(function(result) {
console.log(result);
});
+ 2
Okay, I'll try later. If I really helped you a little bit, please put plus 1 to my answers. I really want to help you)
+ 2
Thanks you 😊
+ 1
Danila Egorenko can you please try it with my code (just added it to my question) for me to see how it works
0
Danila Egorenko how
0
Danila Egorenko so how does it operate
0
Danila Egorenko notification not defined. What should I do
0
Ok thanks. But if you can please try something for me. The code is complete I just wanted to add the notification feature. 😊
0
I'm on it
0
Danila Egorenko sure😊👍🎶🎶