Weather Service A RESTful weather service

The Talk Python weather service.


  • Current weather in a city
    GET /api/weather/?city={city}&country={country}

    • Required: city={city} - the city you want to get the weather at.
    • Optional: state={state} - the state of the city (US only, two letter abbreviations).
    • Optional: country={country} - country, US if none specific (two letter abbreviations).
    • Optional: units={units} - units: {metric, imperial, standard}, defaults to metric.
    Response JSON

Note: This service has limited data. It is for educational purposes only. Other uses are strictly forbidden. If you need a proper weather API, has a great free tier.