Skip to content

Use the official fire.ca.gov API#7

Open
danrit wants to merge 8 commits into
simonw:mainfrom
danrit:feat/new-api
Open

Use the official fire.ca.gov API#7
danrit wants to merge 8 commits into
simonw:mainfrom
danrit:feat/new-api

Conversation

@danrit

@danrit danrit commented Jan 10, 2025

Copy link
Copy Markdown

current API endpoint called using a curl POST request return an error (?..) -> no data is being log

  • switch the endpoint to use the advertised JSON API endpoint: https://incidents.fire.ca.gov/umbraco/api/IncidentApi/List?inactive=true with a GET request (it seems that this recommended API has been published back in 2020)
  • this new endpoint does contains more attributes per fire: eg ExtinguishedDate, Type (with value instead of null)...
  • store in a new JSON file
  • Update README.md accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant