google-weather

Retrieve real-time weather data via Google's Weather API with geocoding and unit selection.

52|3|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Zhow01/SkillAttack --skill google-weather-zhow01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-weather
Source: https://github.com/Zhow01/SkillAttack/tree/main/data/hot100skills/086_shaharsha_google-weather
Command: npx skills add https://github.com/Zhow01/SkillAttack --skill google-weather-zhow01

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve?

Real-time access to accurate weather data for any location via Google's Weather API, enabling applications to fetch current conditions, temperature, humidity, wind, and forecasts without building a weather data backend.

Core Features & Use Cases

  • Current weather data: fetch and display current conditions for any location with unit flexibility.
  • Hourly forecast: obtain a 24-hour forecast to plan activities and operations.
  • Location discovery: leverage geocoding for city names and addresses to resolve coordinates automatically.
  • Language and unit options: support metric and imperial units and multi-language responses.

Quick Start

Ask the AI to fetch current weather for a city using Google Weather API.

Frequently Asked Questions about google-weather

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve real-time weather data and forecasts for a specific city using Python?

You can fetch real-time weather data and forecasts by using a Python module that queries the Google Weather API, which automatically geocodes city names and returns current conditions, temperature, humidity, wind, and hourly forecasts.

How do I securely manage my API key when fetching weather data in Python?

Secure your API key by storing it in environment variables rather than hardcoding it. The weather data module reads the API key from the environment to securely authenticate requests without exposing credentials in your codebase.

Can I get localized weather forecasts with metric and imperial units?

You can retrieve localized weather forecasts with metric and imperial units by configuring the API request parameters, which support multi-language responses and unit selection for global weather queries.

Do I need the requests library to fetch current weather conditions via Google Weather API?

Yes, you need the requests library installed to fetch current weather conditions. The Python module relies on the requests dependency to make HTTP calls to the Google Weather API and parse the returned JSON data.

How does geocoding work when requesting weather data for an address?

Geocoding resolves city names and addresses into coordinates automatically. When you request weather data for an address, the system leverages geocoding to find the precise location before fetching the relevant current conditions and forecasts.

What is the best way to get a 24-hour weather forecast for my application?

The best way to get a 24-hour weather forecast is to integrate a Python weather API module. It fetches hourly forecast data via Google's Weather API, allowing your application to plan activities and operations without building a backend.