Weather Service A RESTful weather service

The Talk Python weather service.


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

    • 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

Recent weahter events

  • Portland US Clouds over downtown.
  • Portland US Misty sunrise today, beautiful!