Add weather fetching script using OpenWeather API by raahil-m · Pull Request #770 · realpython/materials
realpython / materials Public
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Open
Conversation
raahil-m
commented
May 19, 2026
raahil-m
commented
This script fetches and displays weather information for a specified city using the OpenWeather API. It supports both metric and imperial temperature units.
Where to put new files:
- New files should go into a top-level subfolder, named after the article slug. For example:
my-awesome-article
How to merge your changes:
- Make sure the CI code style tests all pass (+ run the automatic code formatter if necessary).
- Find an RP Team member on Slack and ask them to review & approve your PR.
- Once the PR has one positive ("approved") review, GitHub lets you merge the PR.
- 🎉
This script fetches and displays weather information for a specified city using the OpenWeather API. It supports both metric and imperial temperature units.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment