Skip to content

transitco/GTFSloader

Repository files navigation

GTFSloader

Tool to upload and download GTFS files with a MongoDB database

Endpoints

  • Import GTFS from a zipfile to the database
curl --request POST \
  --url http://localhost:3000/import_gtfs
  • Extract GTFS from the database as a zipfile on the server
curl --request GET \
  --url http://localhost:3000/export_gtfs
  • Validate a GTFS zipfile on the server
curl --request GET \
  --url http://localhost:3000/validate_gtfs?agency=<INSERT_AGENCY_KEY_HERE>
  • Download a GTFS zipfile
curl --request GET \
  --url http://localhost:3000/download_gtfs?agency=<INSERT_AGENCY_KEY_HERE>

Contribute

You are welcome to contribute either directly via GitHub Pull Request or via Gerrit: https://review.gerrithub.io/q/project:transitco/GTFSloader+status:open

Intial setup to use Gerrit: pip install git-review

Create a change:

  1. git checkout -b BRANCH_NAME
  2. Modify your files
  3. git add .
  4. git commit -m "MESSAGE"
  5. git review

Modify an existing change:

  1. git review -d CHANGE_ID
  2. Modify your files
  3. git add .
  4. git commit --amend
  5. git review

About

Tool to upload and download GTFS files into a MongoDB database

Resources

Stars

Watchers

Forks

Releases

No releases published