py
land_overview = my_client.get_forecasts("landoverview")
forecast_now = land_overview.now()
Not really that useful to get the first location, so why not get a specific one?
forecast_east = forecast_now.locations.get("Østlandet")
if forecast_east:
print(f"The forecast for Østlandet is: {forecast_east.text}")
else:
print("Sorry, couldn't get the forecast for Østlandet!")
Not sure which locations are available in the forecast you received? Use TextForecastLocations.names
locations = forecast_now.locations.names
print(f"Available locations are {', '.join(locations)}")
**See other examples in the [docs](https://yr-weather.readthedocs.io/en/latest/textforecast/examples.html)**
Radar, Sunrise and Geosatellige
These MET API products have also received improvements when using `yr-weather`.
For details, check the examples in the [documentation](https://yr-weather.readthedocs.io/en/latest/index.html) for the respective product.
Other changes
- The project status has developed: **alpha** -> **beta**
- Testing using pytest added
- Added support for mypy
---
Available on [PyPi](https://pypi.org/project/yr-weather/).
**Full Changelog**: https://github.com/ZeroWave022/yr-weather/compare/v0.3.0...v0.4.0