weather-api-example

Fetch weather data from Open-Meteo and cache results in SQLite.

Updated May 10, 2026
One-click install
npx skills add https://github.com/jymchng/injectable --skill weather-api-example
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weather-api-example
Source: https://github.com/jymchng/injectable/tree/main/skills/weather-api-example
Command: npx skills add https://github.com/jymchng/injectable --skill weather-api-example

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires axum, reqwest, sqlx, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill unit provides a robust reference implementation for building weather services, reducing the time and complexity of creating similar services.

Core Features & Use Cases

  • Weather API: Fetches weather data from Open-Meteo.
  • SQLite Caching: Caches results in SQLite for efficient retrieval.
  • HTTP Client: Utilizes reqwest for external requests.
  • Axum Compatibility: Works seamlessly with Axum for web services.
  • Use Case: Build a weather service with caching and efficient data handling.

Quick Start

Run the weather-api-example skill to get started with your weather service.

Frequently Asked Questions about weather-api-example

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

FAQPage Schema
How do I build a weather service with SQLite caching in Rust?

To build a weather service with SQLite caching, you can fetch data from Open-Meteo and store it locally using SQLite. This approach uses reqwest for HTTP requests and provides a foundation for efficient data retrieval.

Can I integrate Open-Meteo API requests with the Axum web framework?

Yes, you can integrate Open-Meteo API requests with the Axum web framework. This Skill provides an Axum-compatible reference implementation to fetch external weather data and serve it through scalable web endpoints.

What is the best way to cache weather API data using SQLite?

The best way to cache weather API data using SQLite is to store the results from external requests locally. This method ensures efficient retrieval and reduces redundant network calls when building weather-related services.

Do I need reqwest and sqlx to fetch and cache weather data?

Yes, you need reqwest to fetch weather data from external sources and sqlx to interface with the SQLite database. These dependencies work together to handle HTTP requests and cache results efficiently.

How does SQLite caching improve weather service scalability?

SQLite caching improves weather service scalability by storing fetched data locally, which minimizes external API calls and speeds up data retrieval. This ensures efficient data handling when building scalable weather services.