weathermap api forecast code example

Example: free wether api

{
  "location": {
    "name": "London",
    "region": "City of London, Greater London",
    "country": "United Kingdom",
    "lat": 51.52,
    "lon": -0.11,
    "tz_id": "Europe/London",
    "localtime_epoch": 1572750262,
    "localtime": "2019-11-03 3:04"
  },
  "current": {
    "temp_c": 9,
    "temp_f": 48.2,
    "is_day": 0,
    "condition": {
      "text": "Clear",
      "icon": "//cdn.weatherapi.com/weather/64x64/night/113.png",
      "code": 1000
    },
    "wind_mph": 6.9,
    "wind_kph": 11.2,
    "wind_degree": 220,
    "wind_dir": "SW",
    "pressure_mb": 979,
    "pressure_in": 29.4,
    "precip_mm": 0,
    "precip_in": 0,
    "humidity": 81,
    "cloud": 0,
    "feelslike_c": 7.2,
    "feelslike_f": 45,
    "vis_km": 10,
    "vis_miles": 6,
    "uv": 0,
    "gust_mph": 16.3,
    "gust_kph": 26.3
  }
}

Tags:

Misc Example