Skip to content
Ruby lib for dealing with GTFS
Ruby
Find file
Pull request Compare This branch is 1 commit ahead, 64 commits behind nerdEd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
gtfs.gemspec

README.md

GTFS Ruby

A Ruby wrapper for the General Transit Feed Specification

Getting started

Initialize a new GTFS source:

source = GTFS::Source.build(<URI or Path to GTFS zip file>)

Accessing GTFS data from the source:

source.agencies
source.stops
source.routes
source.trips
source.stop_times
source.calendar
source.calendar_dates
source.fare_attributes
source.fare_rules
source.shapes
source.frequencies
source.transfers
Something went wrong with that request. Please try again.