{"id":31919508,"url":"https://github.com/techwithty/flood_score","last_synced_at":"2025-10-13T21:45:02.702Z","repository":{"id":312548154,"uuid":"1047858813","full_name":"TechWithTy/flood_score","owner":"TechWithTy","description":"Flood score integration for parcel-level flood risk assessment.","archived":false,"fork":false,"pushed_at":"2025-08-31T12:48:03.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-31T13:26:45.253Z","etag":null,"topics":["api","climate","flood-risk","insurance","python","real-estate"],"latest_commit_sha":null,"homepage":"https://www.cybershoptech.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TechWithTy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-31T11:55:12.000Z","updated_at":"2025-08-31T12:48:06.000Z","dependencies_parsed_at":"2025-08-31T13:26:51.426Z","dependency_job_id":"d327d267-ccfd-429a-ba39-45e5073780b3","html_url":"https://github.com/TechWithTy/flood_score","commit_stats":null,"previous_names":["techwithty/flood_score"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/TechWithTy/flood_score","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fflood_score","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fflood_score/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fflood_score/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fflood_score/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TechWithTy","download_url":"https://codeload.github.com/TechWithTy/flood_score/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TechWithTy%2Fflood_score/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017053,"owners_count":26085951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","climate","flood-risk","insurance","python","real-estate"],"created_at":"2025-10-13T21:44:58.580Z","updated_at":"2025-10-13T21:45:02.697Z","avatar_url":"https://github.com/TechWithTy.png","language":"Python","readme":"# Flood Score (Provider-agnostic)\n\nSDK and FastAPI proxy for a Flood Score provider, aligned with other integrations.\n\n## Environment Variables\n\n- FLOOD_SCORE_BASE_URL (required)\n- FLOOD_SCORE_API_KEY (optional, if provider requires)\n- FLOOD_SCORE_TIMEOUT (default: 15)\n\nExample .env:\nFLOOD_SCORE_BASE_URL=https://www.fema.gov/flood-maps/products-tools/hazus\nFLOOD_SCORE_API_KEY=your_api_key_if_required\nFLOOD_SCORE_TIMEOUT=15\n\n## Endpoints\n\n- GET /flood-score/health\n  - Returns: { healthy, base_url, has_api_key }\n\n- GET /flood-score/{path}\n  - Proxies a GET to {FLOOD_SCORE_BASE_URL}/{path}\n  - Query string is forwarded as-is\n\nExamples:\ncurl \"http://localhost:8000/flood-score/health\"\n\n# Example: score-by-address (if provider supports)\n# Sends GET to {FLOOD_SCORE_BASE_URL}/score and forwards params\ncurl \"http://localhost:8000/flood-score/score?address=123+Main+St\u0026city=Austin\u0026state=TX\u0026postalCode=78701\"\n\n## Internal Structure\n\n- client.py: FloodScoreClient resolving env/config; headers, GET, health.\n- api/proxy.py: Routes (`/flood-score/health`, passthrough `/{path:path}`).\n- api/routes.py: Aggregates flood_score sub-routers.\n- api/_base.py: FloodAPIBase with shared requests session.\n- api/_requests.py: ListParams, ScoreByAddressParams.\n- api/_enums.py, api/_responses.py, api/_exceptions.py: helpers.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fflood_score","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechwithty%2Fflood_score","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechwithty%2Fflood_score/lists"}