Free weather data for Újezd nade Mží, Plzeň (Czech Republic)Újezd nade Mží, Plzeň (Czech Republic)

There are three ways of receiving free weather data from Yr:

1 Javascript forecast

Easy to use.

Choose between four available designs.

Get details

2 PHP forecast

A bit harder to use. You need knowledge of FTP, server administration and simple programming.

We offer an example script, and you may alter this to suit your needs.

Get details

3 XML forecast

NB!!!!
In the first quarter next year, forecast.xml and forecast_hour_by_hour.xml will be discontinued in favour of a newer JSON API.
Vi encourage you already now to switch to the new API.
There are a lot of changes, and you can read all the technical details in our new developer portal https://developer.yr.no

We offer other free data sources as well (e.g. observations, radar maps and meteograms). More information is available at yr.no/verdata (Norwegian only) and eklima.no (also in English).

All forecasts are available in Norwegian and English (use the flags on the top right corner of our pages).

1 Javascript forecast

Choose one of the four designs below. Copy the code underneath the design and paste it into the program you use to make your website.

Slik gjer du det: Detailed instructions and conditions for use (in Norwegian).

Today/Tomorrow
Simple text forecast
Today/Tomorrow
180 × 300 px
Hour by hour
850 × 430 px
Three days
468 × 280 px
Integrated in your website, not in its own box. Shows today’s forecast until 12 noon, then tomorrow’s forecast. Large and detailed forecast for the next 48 hours. Forecast for today/tomorrow and the two subsequent days.
Yr: Forecast for Újezd nade Mží, Wednesday midday: Cloudy og 9° Example of Javascript forecast from Yr Example of Javascript forecast from Yr Example of Javascript forecast from Yr
Large example Large example Large example

Code:

Code:

Code:

Code:

2 PHP forecast

Yr offers a ready PHP script that you may modify and adopt to your needs (if you do changes in the script, please make sure that you follow the guidelines for use of data from Yr. You may not remove the credits or links to Yr.

You can see what the PHP forecast looks like at kvås.no or Bergstølen Camping.

This is how you do it: Instructions and download (Norwegian only).

3 XML forecast

NB!!!!
In the first quarter next year, forecast.xml and forecast_hour_by_hour.xml will be discontinued in favour of a newer JSON API.
Vi encourage you already now to switch to the new API.
There are a lot of changes, and you can read all the technical details in our new developer portal https://developer.yr.no