Fetch GTFS data and create feed versions
Fetch GTFS data and create feed versions
Use after the sync
command.
transitland fetch [flags] [feeds...]
--allow-ftp-fetch Allow fetching from FTP urls
--allow-local-fetch Allow fetching from filesystem directories/zip files
--allow-s3-fetch Allow fetching from S3 urls
--create-feed Create feed record if not found
--dburl string Database URL (default: $TL_DATABASE_URL)
--dry-run Dry run; print feeds that would be imported and exit
--fail Exit with error code if any fetch is not successful
--feed-url string Manually fetch a single URL; you must specify exactly one feed_id
--fetched-at string Manually specify fetched_at value, e.g. 2020-02-06T12:34:56Z
-h, --help help for fetch
--ignore-duplicate-contents Allow duplicate internal SHA1 contents
--limit int Maximum number of feeds to fetch
--secrets string Path to DMFR Secrets file
--storage string Storage destination; can be s3://... az://... or path to a directory (default ".")
--validation-report Save validation report
--validation-report-storage string Storage path for saving validation report JSON
--workers int Worker threads (default 1)
- transitland - transitland-lib utilities