web_programming.current_weather =============================== .. py:module:: web_programming.current_weather Attributes ---------- .. autoapisummary:: web_programming.current_weather.OPENWEATHERMAP_API_KEY web_programming.current_weather.OPENWEATHERMAP_URL_BASE web_programming.current_weather.WEATHERSTACK_API_KEY web_programming.current_weather.WEATHERSTACK_URL_BASE web_programming.current_weather.location Functions --------- .. autoapisummary:: web_programming.current_weather.current_weather Module Contents --------------- .. py:function:: current_weather(location: str) -> list[dict] >>> current_weather("location") Traceback (most recent call last): ... ValueError: No API keys provided or no valid data returned. .. py:data:: OPENWEATHERMAP_API_KEY :value: '' .. py:data:: OPENWEATHERMAP_URL_BASE :value: 'https://api.openweathermap.org/data/2.5/weather' .. py:data:: WEATHERSTACK_API_KEY :value: '' .. py:data:: WEATHERSTACK_URL_BASE :value: 'http://api.weatherstack.com/current' .. py:data:: location :value: 'to be determined...'