Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/varnitasharma/openweatherapi
This API project utilizes the free tier of OpenWeatherMap's API.
https://github.com/varnitasharma/openweatherapi
ai api jupyter-notebook openweather-api python
Last synced: 16 days ago
JSON representation
This API project utilizes the free tier of OpenWeatherMap's API.
- Host: GitHub
- URL: https://github.com/varnitasharma/openweatherapi
- Owner: varnitasharma
- Created: 2024-09-09T05:28:35.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T05:42:45.000Z (2 months ago)
- Last Synced: 2024-10-09T17:21:23.367Z (about 1 month ago)
- Topics: ai, api, jupyter-notebook, openweather-api, python
- Language: Jupyter Notebook
- Homepage:
- Size: 255 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This API project utilizes the free tier of OpenWeatherMap's API. It prompts the user to enter a city name, retrieves relevant weather data from the API, and then presents the current weather conditions and temperature in a user-friendly format.
This project demonstrates the ability to leverage external APIs to enrich applications.
The retrieved JSON response can be further parsed to extract and display additional weather information such as wind speed, humidity, or forecast data, depending on the desired functionality.
JSON data looks like this:
{'base': 'stations',
'clouds': {},
'cod': ,
'coord': {'lat': , 'lon': },
'dt': ,
'id': ,
'main': {'feels_like': ,
'grnd_level': ,
'humidity': ,
'pressure': ,
'sea_level': ,
'temp': ,
'temp_max': ,
'temp_min': },
'name': ,
'sys': {'country': ,
'id': ,
'sunrise': ,
'sunset': ,
'type': },
'timezone': ,
'visibility': ,
'weather': [{'description': , 'icon': , 'id': , 'main': }],
'wind': {'deg': , 'speed': }}