https://github.com/techwithty/weather_air_quality
Weather and air quality integration for localized AQI and climate metrics.
https://github.com/techwithty/weather_air_quality
api aqi environment python real-estate weather
Last synced: 4 months ago
JSON representation
Weather and air quality integration for localized AQI and climate metrics.
- Host: GitHub
- URL: https://github.com/techwithty/weather_air_quality
- Owner: TechWithTy
- Created: 2025-08-31T12:41:57.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-08-31T13:00:43.000Z (5 months ago)
- Last Synced: 2025-08-31T14:36:33.368Z (5 months ago)
- Topics: api, aqi, environment, python, real-estate, weather
- Language: Python
- Homepage: https://www.cybershoptech.com
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather & Air Quality
Integration for localized weather metrics and AQI (air quality index), including pollen when available.
## Overview
- Weather, air, and pollen endpoints with typed requests/responses
- FastAPI-ready routes and proxy helpers
- Consistent SDK interface with other integrations
## Environment Variables
- WAQ_BASE_URL (required)
- WAQ_API_KEY (required by provider)
- WAQ_TIMEOUT (default: 15)
Example .env:
WAQ_BASE_URL=https://api.example.com/weather
WAQ_API_KEY=your_api_key
WAQ_TIMEOUT=15
## Endpoints (examples)
- GET /weather-air-quality/health
- GET /weather-air-quality/weather?lat=...&lng=...
- GET /weather-air-quality/air?lat=...&lng=...
- GET /weather-air-quality/pollen?lat=...&lng=...
## Project Structure
- api/: base, requests, responses, exceptions, routes
- client.py: high-level client wrapper
- config.py: configuration and environment variables
- pyproject.toml: package metadata