Skip to content

konipro/OpenWeatherMap-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather-Images-API (For OpenWeatherMap)

This "API" converts weather codes from OpenWeatherMap into images. This can be helpful if you use OpenWeatherMap and want to show your users suitable images for the current weather situation.

How to use

Clone the project on your CDN/WebServer. If necessary, in a subfolder.

Call the path, plus the IconCode and the extension "JPG": https://yourweatherapi/images/ WeatherConditionCode .jpg

Example/Demo: https://cdn.diestadt.app/i/weather/212.jpg

Code-List

Weather-Condition-Code-List (Use the ID!)

Sizing

All images are in 1080px X 608px size (16:9 aspect ratio). But you can also load them in double size.

https://yourweatherapi/images/ WeatherConditionCode@2x.jpg

Example Images

heavyThunderstorm (ID: 212) heavyThunderstorm

haze (ID: 721) haze

scattered clouds: 25-50% (ID: 802) clouds

overcast clouds: 85-100% (ID: 804) clouds

Sources & Licens

All photos and videos are free to use. Attribution is not required :) You can modify the photos – Be creative!

Creator

On GitHub

  • @pexels - Images 🇩🇪 (/🇺🇸)
  • @konipro - Cutting & Research 🇩🇪 (/🇺🇸)

Help us!

The whole thing is not yet a real API, there are certainly better images, cool functions, but that can still be better! So feel free to collaborate.

Ideas:

  • Day and night images
  • Videos / GIFs
  • An API
  • XD file for editing & easy export

About

This "API" converts weather codes from OpenWeatherMap into images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published