how can you display icon images from the icon codes?

Category: API

Replies

John says:
June, Friday, 2017 at 3:07PM

Hello William!

We do not advise linking directly to the images hosted by our site, as we cannot guarentee that they will not change, move, or be rate limited. However, for testing purposes, you can use the following link structure: https://www.weatherbit.io/static/img/icons/{icon_code}.png .

Example: https://www.weatherbit.io/static/img/icons/r01d.png

We highly recommend (if you want to use our icons) downloading them, and hosting them locally. You can download the full Weatherbit weather icon archive on our API metadata page - https://www.weatherbit.io/api/meta.

Thanks for your question! Please let us know if you need anything else!

willliam says:
June, Friday, 2017 at 5:24PM

thanks so much for your fast reply. works great!

Leave A Reply

What is 3 x 4?