Project

presto_api

0.0
No commit activity in last 3 years
No release in over 3 years
Gem for interacting with Presto cards, using mechanize.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0

Runtime

= 2.7.3
 Project Readme

The Presto Gem

Gem for interacting with Presto cards. Currently supports the following features:

  • Registered and unregistered cards (i.e. username/passwords or card numbers)
  • Card Status
    • Status
    • Balance
  • User Information
    • First Name
    • Last Name
    • Address 1
    • Address 2
    • City
    • Province
    • Country
    • Postal Code
    • Phone Number
    • Email
    • Security Question
    • Security Answer
  • Transaction History
    • Date
    • Service Provider
    • Location
    • Type
    • Amount
    • Balance
    • Loyalty Month
    • Loyalty Trip
    • Loyalty Step
    • Loyalty Discount

Usage

require 'presto_api'

status = PrestoAPI::Client.new.card_status_with_number('XXXXXXXXXXXXXXXXX')
puts status.balance

License

MIT Licensed.

Notice

Please respect the Presto website's Terms and Conditions.