CreativeCoding

Weather API

A screenshot of a terminal application showing a python script returning the current weather in London

An example of how to use the OpenWeather free API to query the weather over the internet through an API request

Run the example by typing

python api-weather.py

into your console.

Download this example Download all examples as .zip