Google Weather - Real-time Weather Data
Get accurate weather conditions using Google's Weather API. Requires a Google Cloud API key with Weather API enabled.
Quick Usage
# Current weather (formatted output)
python3 skills/google-weather/lib/weather_helper.py current "New York"
python3 skills/google-weather/lib/weather_helper.py current "London"
python3 skills/google-weather/lib/weather_helper.py current "Sydney"
# 24h Forecast
python3 skills/google-weather/lib/weather_helper.py forecast "Tel Aviv"
# Raw JSON data
python3 skills/google-weather/lib/weather_helper.py json "Paris"
Example Output
*New York*
Partly Cloudy ⛅
🌡️ 12°C (feels like 10°C)
💨 Wind: 18 km/h NORTHWEST
💧 Humidity: 55%
*24h Forecast for Tel Aviv*
18:00: 17.8°C, ☀️ 5 km/h NORTH
22:00: 14.3°C, ☀️ 6 km/h EAST_NORTHEAST
02:00: 12.8°C, ⛅ 8 km/h NORTHEAST
06:00: 10.8°C, ☀️ 6 km/h EAST_NORTHEAST
10:00: 16.1°C, ☀️ 5 km/h SOUTH
14:00: 20.4°C, 🌤️ 8 km/h WEST_NORTHWEST
Supported Locations
Any location worldwide - just type the city name:
New York, London, Paris, Berlin, Sydney
San Francisco, Berlin, Singapore, Dubai
- Or any address, landmark, or coordinates
The skill automatically geocodes locations using Google Maps API.
Data Available
- Temperature: Current + feels like
- Conditions: Clear, cloudy, rain, snow, etc. with emoji icons
- Forecast: Hourly data for temperature, wind, and conditions
- Humidity: Percentage
- Wind: Speed, direction, gusts
- UV Index: Sun exposure level
- Precipitation: Probability and type
- Cloud Cover: Percentage
- Visibility: Distance
Setup
- Create a project in Google Cloud Console
- Enable the Weather API
- Enable the Geocoding API (for location name lookup)
- Create an API key and set it as
GOOGLE_API_KEY environment variable
Also supports GOOGLE_WEATHER_API_KEY or GOOGLE_MAPS_API_KEY if you already have one configured.
Multi-language Support
Output adapts to location - supports English, Hebrew, and other languages based on the language parameter.
# Hebrew output
python3 skills/google-weather/lib/weather_helper.py current "Tel Aviv"
# Output: בהיר ☀️ 19°C...
1---
2name: google-weather
3description: Google Weather API - accurate, real-time weather data. Get current conditions, temperature, humidity, wind, and forecasts. Powered by Google's Weather API for reliable, hyperlocal data updated every 15 minutes. Supports any location worldwide.
4version: 1.2.0
5author: Leo 🦁
6tags: [weather, google, forecast, temperature, real-time, current-conditions, climate, wind, humidity]
7metadata:
8 source: https://skillmd.com/skills/modbender/google-weather
9 clawdbot:
10 emoji: 🌤️
11 requires:
12 env:
13 - GOOGLE_API_KEY
14 primaryEnv: GOOGLE_API_KEY
15 secondaryEnv:
16 - GOOGLE_WEATHER_API_KEY
17 - GOOGLE_MAPS_API_KEY
18allowed-tools: [exec]
19---
20
21# Google Weather - Real-time Weather Data
22
23Get accurate weather conditions using Google's Weather API. Requires a Google Cloud API key with Weather API enabled.
24
25## Quick Usage
26
27```bash
28# Current weather (formatted output)
29python3 skills/google-weather/lib/weather_helper.py current "New York"
30python3 skills/google-weather/lib/weather_helper.py current "London"
31python3 skills/google-weather/lib/weather_helper.py current "Sydney"
32
33# 24h Forecast
34python3 skills/google-weather/lib/weather_helper.py forecast "Tel Aviv"
35
36# Raw JSON data
37python3 skills/google-weather/lib/weather_helper.py json "Paris"
38```
39
40## Example Output
41
42```
43*New York*
44Partly Cloudy ⛅
45🌡️ 12°C (feels like 10°C)
46💨 Wind: 18 km/h NORTHWEST
47💧 Humidity: 55%
48```
49
50```
51*24h Forecast for Tel Aviv*
5218:00: 17.8°C, ☀️ 5 km/h NORTH
5322:00: 14.3°C, ☀️ 6 km/h EAST_NORTHEAST
5402:00: 12.8°C, ⛅ 8 km/h NORTHEAST
5506:00: 10.8°C, ☀️ 6 km/h EAST_NORTHEAST
5610:00: 16.1°C, ☀️ 5 km/h SOUTH
5714:00: 20.4°C, 🌤️ 8 km/h WEST_NORTHWEST
58```
59
60## Supported Locations
61
62Any location worldwide - just type the city name:
63- `New York`, `London`, `Paris`, `Berlin`, `Sydney`
64- `San Francisco`, `Berlin`, `Singapore`, `Dubai`
65- Or any address, landmark, or coordinates
66
67The skill automatically geocodes locations using Google Maps API.
68
69## Data Available
70
71- **Temperature**: Current + feels like
72- **Conditions**: Clear, cloudy, rain, snow, etc. with emoji icons
73- **Forecast**: Hourly data for temperature, wind, and conditions
74- **Humidity**: Percentage
75- **Wind**: Speed, direction, gusts
76- **UV Index**: Sun exposure level
77- **Precipitation**: Probability and type
78- **Cloud Cover**: Percentage
79- **Visibility**: Distance
80
81## Setup
82
831. Create a project in [Google Cloud Console](https://console.cloud.google.com/)
842. Enable the [Weather API](https://console.cloud.google.com/apis/library/weather.googleapis.com)
853. Enable the [Geocoding API](https://console.cloud.google.com/apis/library/geocoding-backend.googleapis.com) (for location name lookup)
864. Create an API key and set it as `GOOGLE_API_KEY` environment variable
87
88> Also supports `GOOGLE_WEATHER_API_KEY` or `GOOGLE_MAPS_API_KEY` if you already have one configured.
89
90## Multi-language Support
91
92Output adapts to location - supports English, Hebrew, and other languages based on the `language` parameter.
93
94```bash
95# Hebrew output
96python3 skills/google-weather/lib/weather_helper.py current "Tel Aviv"
97# Output: בהיר ☀️ 19°C...
98```