Retrieve current weather information for a specified city using this API endpoint. Replace `{city_name}` in the URL with the name of the city you're interested in. The response includes details such as temperature, humidity, wind speed, and weather condition.

https://api.weatherapi.com/v1/current.json?key=a8d3f35fec004fc6bdf160839231906&q={city_name}&aqi=no

Example-> JSON data

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 { "location": { "name": "Dekhi-Adamkhay", "region": "Helmand", "country": "Afghanistan", "lat": 31.83, "lon": 64.59, "tz_id": "Asia/Kabul", "localtime_epoch": 1719918995, "localtime": "2024-07-02 15:46" }, "current": { "last_updated_epoch": 1719918900, "last_updated": "2024-07-02 15:45", "temp_c": 43.4, "temp_f": 110.1, "is_day": 1, "condition": { "text": "Sunny", "icon": "//cdn.weatherapi.com/weather/64x64/day/113.png", "code": 1000 }, "wind_mph": 4.9, "wind_kph": 7.9, "wind_degree": 331, "wind_dir": "NNW", "pressure_mb": 989, "pressure_in": 29.2, "precip_mm": 0, "precip_in": 0, "humidity": 5, "cloud": 0, "feelslike_c": 45.3, "feelslike_f": 113.5, "windchill_c": 43.4, "windchill_f": 110.1, "heatindex_c": 45.3, "heatindex_f": 113.5, "dewpoint_c": -3.1, "dewpoint_f": 26.5, "vis_km": 10, "vis_miles": 6, "uv": 10, "gust_mph": 5.7, "gust_kph": 9.1 } }