Plume API
Utility

/weather

Get the weather of a city

GET
/weather

Query Parameters

city*string

The city name

Length1 <= length <= 100

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://plume.sodiumlabs.xyz/api/weather?city=string"
{
  "city_name": "string",
  "full_city_name": "string",
  "latitude": 0,
  "longitude": 0,
  "temperature": 0,
  "humidity": 0,
  "wind_speed": 0,
  "hourly": {
    "time": [
      0
    ],
    "temperature_2m": [
      0
    ],
    "relative_humidity_2m": [
      0
    ],
    "wind_speed_10m": [
      0
    ]
  }
}
{
  "message": "string"
}
{
  "message": "string",
  "errors": [
    {
      "message": "string"
    }
  ]
}
{
  "message": "string"
}