https://api.met.no/doc/TermsOfService
[...]
Clients which don't follow the terms are liable to being throttled. This means requests will start getting a 429 HTTP status code instead of any content. Always check response Status headers and limit traffic immediately if this should happen. If you don't suspect you have excessive amounts of traffic, the problem is likely to be a breach of the TOS, usually lack of identification.
[...]
If geting back 429, print out a warning on the page instead of the weather.
https://api.met.no/doc/TermsOfService [...] Clients which don't follow the terms are liable to being throttled. This means requests will start getting a 429 HTTP status code instead of any content. Always check response Status headers and limit traffic immediately if this should happen. If you don't suspect you have excessive amounts of traffic, the problem is likely to be a breach of the TOS, usually lack of identification. [...]
If geting back 429, print out a warning on the page instead of the weather.