https://github.com/techwithty/natural_disasters
Natural disaster integration for hurricane, wildfire, and earthquake exposure.
https://github.com/techwithty/natural_disasters
api climate-risk disasters earthquake hurricane python real-estate wildfire
Last synced: 6 months ago
JSON representation
Natural disaster integration for hurricane, wildfire, and earthquake exposure.
- Host: GitHub
- URL: https://github.com/techwithty/natural_disasters
- Owner: TechWithTy
- Created: 2025-08-31T11:58:49.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-08-31T13:03:15.000Z (7 months ago)
- Last Synced: 2025-08-31T15:09:45.645Z (7 months ago)
- Topics: api, climate-risk, disasters, earthquake, hurricane, python, real-estate, wildfire
- Language: Python
- Homepage: https://www.cybershoptech.com
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Natural Disasters
Integration for multi-hazard exposure (hurricanes, wildfires, earthquakes, etc.) for real estate risk analysis.
## Overview
- Hazard endpoints (health, hazard-by-location) with typed requests/responses
- FastAPI-ready routes and proxy helpers
- Consistent SDK interface with other integrations
## Environment Variables
- NATDIS_BASE_URL (required)
- NATDIS_API_KEY (optional, provider-dependent)
- NATDIS_TIMEOUT (default: 15)
Example .env:
NATDIS_BASE_URL=https://api.example.com/natural-disasters
NATDIS_API_KEY=your_api_key_if_required
NATDIS_TIMEOUT=15
## Endpoints (examples)
- GET /natural-disasters/health
- GET /natural-disasters/hazard?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
## Usage
Import the client for programmatic access or mount routes into your FastAPI app.