cloudflare · Cloudflare Workers Docs
Workers Geolocation: Weather application
A complete implementation pattern for building a Cloudflare Worker that retrieves a user's geographic location and fetches corresponding weather data from an external API.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Workers Geolocation: Weather application
A complete implementation pattern for building a Cloudflare Worker that retrieves a user's geographic location and fetches corresponding weather data from an external API.
When To Use
Use when you need to implement a Cloudflare Worker that detects a user's location to provide localized data like weather information.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/workers-examples-geolocation-app-weather-application-workflow-guide.md | A guide demonstrating how to build a Cloudflare Workers application that fetches weather data based on user geolocation. | Questions about a guide demonstrating how to build a Cloudflare Workers application that fetches weather data based on user geolocation. |
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers-.text | A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an external API. | Exact payloads, commands, or snippets shown in A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an exter... |
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--2.text | A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an external API. | Exact payloads, commands, or snippets shown in A Cloudflare Workers script that uses request geolocation data to fetch and display weather information from an exter... |
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--3.text | A Hono-based Cloudflare Worker implementation that uses geolocation data to fetch and display air quality information from the WAQI API. | Exact payloads, commands, or snippets shown in A Hono-based Cloudflare Worker implementation that uses geolocation data to fetch and display air quality information... |
examples/workers-examples-geolocation-app-weather-application-cloudflare-workers--4.text | A Python implementation of a Cloudflare Worker that uses request geolocation data to fetch and display weather information. | Exact payloads, commands, or snippets shown in A Python implementation of a Cloudflare Worker that uses request geolocation data to fetch and display weather inform... |
What This Skill Covers
- Geolocation: Weather application
- Main sections:
Tags.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://developers.cloudflare.com/workers/examples/geolocation-app-weather
