No commit activity in last 3 years
No release in over 3 years
There's a lot of open issues
A combination basic client for the MARTA RESTful API and an enhanced, supplemental client for the SMARTA RESTful API.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 0.1.16
~> 10.0
~> 3.0
~> 0.17.1

Runtime

~> 2.7
 Project Readme

smarta

The SMARTA API client is a hybrid client around the MARTA APIs supplemented with analysis of historic patterns and static schedule data our own SMARTA APIs.

Continuous Integration Status

Continuous Integration status codecov

Project Goals

Goals? Oh we've got goals - check 'em out in the infohub overview document.

TODO

MARTA API:

  • Fetch rail schedules
  • Fetch bus schedules
  • Fetch bus schedules by route SMARTA API:
  • Find rail schedule by line
  • Find rail schedule by station
  • Find bus schedule by stop
  • Find bus stop by route
  • Find routes by stop
  • Find rail stations by location
  • Add projected arrival/departure time based on historical trends

Project Maturity

SMARTA is very young. Young, scrappy, and hungry. 😎

Prerequisites

You will need a MARTA API key to fetch the live results from MARTA's base API.

Installation

Add this line to your application's Gemfile:

gem 'smarta_api_client'

And then execute:

$ bundle

Or install it yourself as:

$ gem install smarta_api_client

Usage

TODO: Write usage instructions here

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/smartatransit/smarta_api_client.

License

Copyright© 2019 SMARTA Transit

Distributed under the GNU Public License version 3