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!

Image of Checkly

Replace beforeEach/afterEach with Automatic Fixtures in Playwright

  • Avoid repetitive setup/teardown in spec file
  • Use Playwright automatic fixtures for true global hooks
  • Monitor JS exceptions with a custom exceptionLogger fixture
  • Keep your test code clean, DRY, and production-grade

Watch video

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

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay