Skip to content

Use the official fire.ca.gov API #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

danrit
Copy link

@danrit danrit commented Jan 10, 2025

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