WeatherAPI.com

FREEMIUM
By WeatherAPI.com | Updated 4 months ago | Weather
Popularity

9.9 / 10

Latency

197ms

Service Level

99%

Back to All Discussions

can someone tell me how to use icon

avatar
letuscsg
5 months ago

can someone tell me how to use icon

avatar
weatherapi commented 5 months ago

Hi,

In the JSON response we return a condition:code which is a code for describing weather. For example clear, sunny, etc.

You may retrieve the whole condition list as JSON to implement different weather icons or apply other logic to your application. It also includes multi-language translations of weather condition text.

Multilingual Condition list URL: https://www.weatherapi.com/docs/conditions.json

English Condition list URL (CSV): https://www.weatherapi.com/docs/weather_conditions.csv

English Condition list URL (JSON): https://www.weatherapi.com/docs/weather_conditions.json

English Condition list URL (XML): https://www.weatherapi.com/docs/weather_conditions.xml

Please download the list and use it offline instead of directly linking into your application.

avatar
letuscsg commented 5 months ago

ok thanks 😃
got it 😉

Join in the discussion - add comment below:

Login / Signup to post new comments
Rating: 4.3 - Votes: 3