Skip to content

publicmap/goa-fire-trucks-geojson

Repository files navigation

Goa Fire Truck API

This directory contains data for Goa Fire Department's GPS API data.

  • Geojson: data/goa-fire-trucks.geojson
  • API URL: https://raw.githubusercontent.com/publicmap/goa-fire-trucks-geojson/refs/heads/main/data/goa-fire-trucks.geojson

Details

We use GitHub Actions to:

  1. Fetch the API data every minute
  2. Save it to a cached JSON file in the repository
  3. Serve this file via GitHub Pages
  4. Configure our client to use the cached file instead of hitting the API directly

The actual implementation consists of:

  • A GitHub Actions workflow (.github/workflows/) that runs every minute
  • A script to fetch and process the API data (fetch-data.js)
  • A cached data file that gets updated by the workflow (data)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •