Learn OpenAQ's API using Python

Python Air Quality Tutorial Use OpenAQ’s free API to get air quality data using Python For this tutorial we will use Python to query the OpenAQ REST API. To make HTTP requests we will use the popular requests library. Any other HTTP library will work, e.g. httpx or even the standard library urllib OpenAQ maintains a REST API at https://api.openaq.org which provides programmatic access to the OpenAQ database. The API returns results in JSON, a standard format for REST APIs....

September 22, 2022 · 5 min · 875 words · Germain

Use OpenAI's Whisper with Python

Use Whisper with Python Then they said, “Come, let us build ourselves a city, with a tower that reaches to the heavens, so that we may make a name for ourselves; otherwise we will be scattered over the face of the whole earth.” Transcribe and translate OpenAI’s free language model can take audio from 99 languages and transcribe them to text or translate them into english. I will show you how to use Python to record a 30 second clip and feed it through the model....

2 min · 320 words · Germain