🌐
Google Code
code.google.com › archive › p › python-weather-api
Google Code Archive - Long-term storage for Google Code Project Hosting.
Archive · Skip to content · The Google Code Archive requires JavaScript to be enabled in your browser · Google · About Google · Privacy · Terms
🌐
piwheels
piwheels.org › project › python-google-weather-api
piwheels - python-google-weather-api
The piwheels project page for python-google-weather-api: A python client library for Google Weather API
Discussions

Python Weather API - Stack Overflow
How do I import weather data into a Python program? ... The OpenWeatherMap service provides free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available ... More on stackoverflow.com
🌐 stackoverflow.com
November 3, 2014
Is there a free and accurate weather API
I use VisualCrossing for work and we use the paid edition but it says you can use the free tier without a credit card. More on reddit.com
🌐 r/learnprogramming
8
1
December 29, 2024
Anyone knows good open source weather API?
My favorite is this one. https://open-meteo.com/en It is completely free and does not require an API key, so it is ready to use immediately. More on reddit.com
🌐 r/webdev
14
9
March 10, 2022
Best weather forecast API
The National Weather Service offers a free API, I don't think its the best but it might be the cheapest (else maybe a free tier somewhere else is better). I built on it for a "get current temp" chatbot feature and it's been ok so far (though when I was researching I read it can be spotty/unreliable). More on reddit.com
🌐 r/webdev
15
9
July 28, 2024
🌐
The Python Code
thepythoncode.com › article › extract-weather-data-python
How to Extract Weather Data from Google in Python - The Python Code
Doing such a task in a high-level ... like Python is very handy and powerful. In this tutorial, you will learn how to use requests and BeautifulSoup to scrape weather data from the Google search engine. Although, this is not the perfect and official way to get the actual weather for a specific location, because there are hundreds of weather APIs out there ...
🌐
Medium
dimasyotama.medium.com › build-an-ai-powered-weather-api-with-python-flask-openweathermap-and-gemini-8e5cbf87af5d
Build an AI-Powered Weather API with Python, Flask, OpenWeatherMap, and Gemini | by Dimas Yoga Pratama | Medium
May 8, 2025 - A Google Gemini API Key: You can obtain one from Google AI Studio. Basic understanding of Python, REST APIs, and JSON. A code editor (like VS Code). ... Let’s get building! First, create a new project directory and navigate into it. It’s good practice to use a virtual environment. mkdir intelligent-weather-api cd intelligent-weather-api python -m venv venv # On Windows: venv\Scripts\activate # On macOS/Linux: source venv/bin/activate
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-extract-weather-data-from-google-in-python
How to Extract Weather Data from Google in Python? - GeeksforGeeks
July 23, 2025 - Google does not have its own weather API, it fetches data from weather.com and shows it when you search on Google. So, we will scrape the data from Google, and also we will see another method to fetch a schematic depiction of a location's weather ...
🌐
PyPI
pypi.org › project › python-weather
python-weather · PyPI
A free and asynchronous weather API wrapper made in Python, for Python.
      » pip install python-weather
    
Published   Jan 23, 2026
Version   2.1.2
🌐
Google
developers.google.com › google maps platform › environment › weather api › weather api overview
Weather API overview | Google for Developers
Weather information includes temperature, precipitation, humidity, and more. For a location at a given latitude and longitude, the API provides endpoints that let you query:
Find elsewhere
🌐
RapidAPI
rapidapi.com › blog › weather-api-python
Python
Rapid Blog, developers #1 source for API tutorials, industry news, and more. One API key. One dashboard.
🌐
PyPI
pypi.org › project › pygoogleweather
pygoogleweather · PyPI
Python library to get weather from Google Search. No API keys required.
      » pip install pygoogleweather
    
Published   Jan 26, 2025
Version   0.1.12
🌐
Termo
termo.ai › home › skills › google weather
Google Weather — AI Skill — Termo
Get accurate weather conditions using Google's Weather API. Requires a Google Cloud API key with Weather API enabled. python3 skills/google-weather/lib/weather_helper.py current "New York"
🌐
OpenWeatherMap
openweathermap.org › examples
Partners and solutions
Google has closed their Weather and Cloud solutions since 4th of June 2015 and recommended to use OpenWeatherMap with the Google Maps JavaScript API as an alternative solution.
🌐
Tomorrow.io
tomorrow.io › home › how to create daily forecasts with a python weather api
How To Create Daily Forecasts with A Python Weather API
July 24, 2024 - If you’re new to Python and just ... Pythons’s guide for beginners. We’ve also included a refresher video explaining the capabilities of a weather API. ... You must create an account to get your weather API key from Tomorrow.io. When you create an account, your personal API key will be automatically created for you to use in your application. Finding the coordinates for your desired location is quite easy using your favorite online maps. Let’s use Google Maps as an ...
🌐
Google
developers.google.com › google maps platform › environment › weather api
Google Maps Platform Documentation | Weather API | Google for Developers
The Weather API provides comprehensive weather information — including temperature, precipitation, wind, cloud cover, and more — for locations across the globe.
Top answer
1 of 1
70

Since Google has shut down its weather API, I suggest to check out OpenWeatherMap:

The OpenWeatherMap service provides free weather data and forecast API suitable for any cartographic services like web and smartphones applications. Ideology is inspired by OpenStreetMap and Wikipedia that make information free and available for everybody. OpenWeatherMap provides wide range of weather data such as map with current weather, week forecast, precipitation, wind, clouds, data from weather Stations and many others. Weather data is received from global Meteorological broadcast services and more than 40 000 weather stations.

It's not a Python library, but it's super easy to use, because you can get results in JSON format.

Here's an example using Requests:

>>> from pprint import pprint
>>> import requests
>>> r = requests.get('http://api.openweathermap.org/data/2.5/weather?q=London&APPID={APIKEY}')
>>> pprint(r.json())
{u'base': u'cmc stations',
 u'clouds': {u'all': 68},
 u'cod': 200,
 u'coord': {u'lat': 51.50853, u'lon': -0.12574},
 u'dt': 1383907026,
 u'id': 2643743,
 u'main': {u'grnd_level': 1007.77,
           u'humidity': 97,
           u'pressure': 1007.77,
           u'sea_level': 1017.97,
           u'temp': 282.241,
           u'temp_max': 282.241,
           u'temp_min': 282.241},
 u'name': u'London',
 u'sys': {u'country': u'GB', u'sunrise': 1383894458, u'sunset': 1383927657},
 u'weather': [{u'description': u'broken clouds',
               u'icon': u'04d',
               u'id': 803,
               u'main': u'Clouds'}],
 u'wind': {u'deg': 158.5, u'speed': 2.36}}

And here's an example using PyOWM, a Python wrapper around the OpenWeatherMap web API:

>>> import pyowm
>>> owm = pyowm.OWM()
>>> observation = owm.weather_at_place('London,uk')
>>> w = observation.get_weather()
>>> w.get_wind()
{u'speed': 3.1, u'deg': 220}
>>> w.get_humidity()
76

The official API documentation is available here.

To get the API key sign up to open weather map here

🌐
Google Maps Platform
mapsplatform.google.com › google maps platform › maps products › weather
Weather API: AI Forecasts, Data & Insights | Google Maps Platform
The Google Maps Platform Weather API delivers weather data for current conditions, hourly forecasts, and daily forecasts using both AI Weather models and traditional forecasting systems (such as numerical weather prediction) in a low resolution.
🌐
GeeksforGeeks
geeksforgeeks.org › python › python-find-current-weather-of-any-city-using-openweathermap-api
Find current weather of any city using OpenWeatherMap API in Python - GeeksforGeeks
July 11, 2025 - Requests: Here we will use Python's requests module to make HTTP requests. For installing use the code below in the terminal. Here we are using headers because the headers contain protocol-specific information that is placed before the raw message i.e retrieved from the website. After that, we will use the get() function and pass the google search in it along with the name of the city to retrieve the data from google.
🌐
Reddit
reddit.com › r/learnprogramming › is there a free and accurate weather api
r/learnprogramming on Reddit: Is there a free and accurate weather API
December 29, 2024 -

I tried OpenWeatherMap but I need to put a credit card in and I don't have that right now. I also tried weatherstack but the info it gave me was wrong. Meteo wants a free trial.

Are there alternative weather API that are free and accurate without having put credit details in?

🌐
Google APIs
storage.googleapis.com › gmp-maps-demos › weather-api › index.html
Weather API Demo - Googleapis.com
Try our new weather demo! See how to integrate Google Maps Platform's Weather API, powered by Google's advanced models, into your projects.