Scheduled fetches of the latest UK Fuel Finder data, stored in this repository.
Fetch and write CSV data:
go run .Output to a different path:
go run . -out path/to/data.csvUse the long form flag:
go run . -output path/to/data.csvWrite JSON with nested keys:
go run . -format jsonFUEL_OUT: default output path (overridden by-out)FUEL_FORMAT: default output format (csvorjson, overridden by-format)FUEL_PROXY_TEMPLATE: optional fallback proxy template for the fuel URL; use{url}placeholder for a query parameter template, or provide a prefix to append the target URL.
The workflow runs hourly and on manual dispatch, committing data.csv only when changes are detected.
The data is available under the Open Government Licence v3.0. Licence text: https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/