Open AnttiRumpunen opened 4 months ago
Currently only Crisis-messages are shown and they are same as in fmi.fi -site.
New interface will be added to https://ilmatieteenlaitos.fi/api/general/mobileannouncements which can be used to retrieve announcements. These are independent from fmi.fi -site's announcements. Change this url to defaultConfig.
Add support to show Crisis and Maintenance -type announcements.
Remember to support invalid url, undefined/null and empty array (interface return empty array if no announcements).
11/3/2024 New interface is not in use atm, but you can use this: http://beta.ilmatieteenlaitos.fi/api/general/mobileannouncements and for swedish version http://sv-beta.ilmatieteenlaitos.fi/api/general/mobileannouncements and english version http://en-beta.ilmatieteenlaitos.fi/api/general/mobileannouncements.
Currently only Crisis-messages are shown and they are same as in fmi.fi -site.
New interface will be added to https://ilmatieteenlaitos.fi/api/general/mobileannouncements which can be used to retrieve announcements. These are independent from fmi.fi -site's announcements. Change this url to defaultConfig.
Add support to show Crisis and Maintenance -type announcements.
Remember to support invalid url, undefined/null and empty array (interface return empty array if no announcements).
11/3/2024 New interface is not in use atm, but you can use this: http://beta.ilmatieteenlaitos.fi/api/general/mobileannouncements and for swedish version http://sv-beta.ilmatieteenlaitos.fi/api/general/mobileannouncements and english version http://en-beta.ilmatieteenlaitos.fi/api/general/mobileannouncements.