DEV Community

Andrew Sverdrup for Next Tech

Posted on • Originally published at next.tech

4

How to use the OpenWeatherMap API with Python

OpenWeatherMap is an online service that provides access weather data, including current weather data, forecasts, and historical data. Developers can use their API (application programming interface) to make requests and incorporate the returned data into their website or app.

In this video you'll learn how to get the temperature, wind speed, humidity, and weather status using the Python OpenWeatherMap library, which provides an interface to the OpenWeatherMap API.

You'll get to use the Python programming language, a real application programming interface (API), and (if you'd like) an online coding environment!

We'd love to hear what you think of the video, and if you have any ideas for other videos you'd like to see. We'll be making many more in the weeks to come!

Now, without further ado, let's code!

Quadratic AI

Quadratic AI – The Spreadsheet with AI, Code, and Connections

  • AI-Powered Insights: Ask questions in plain English and get instant visualizations
  • Multi-Language Support: Seamlessly switch between Python, SQL, and JavaScript in one workspace
  • Zero Setup Required: Connect to databases or drag-and-drop files straight from your browser
  • Live Collaboration: Work together in real-time, no matter where your team is located
  • Beyond Formulas: Tackle complex analysis that traditional spreadsheets can't handle

Get started for free.

Watch The Demo 📊✨

Top comments (0)

Billboard image

Try REST API Generation for Snowflake

DevOps for Private APIs. Automate the building, securing, and documenting of internal/private REST APIs with built-in enterprise security on bare-metal, VMs, or containers.

  • Auto-generated live APIs mapped from Snowflake database schema
  • Interactive Swagger API documentation
  • Scripting engine to customize your API
  • Built-in role-based access control

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay