Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpsim/presto-gem
Gem for interacting with Presto cards.
https://github.com/jpsim/presto-gem
Last synced: 10 days ago
JSON representation
Gem for interacting with Presto cards.
- Host: GitHub
- URL: https://github.com/jpsim/presto-gem
- Owner: jpsim
- License: mit
- Created: 2014-03-25T21:00:34.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-27T18:47:51.000Z (almost 11 years ago)
- Last Synced: 2024-05-08T22:33:38.164Z (9 months ago)
- Language: Ruby
- Size: 168 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Presto Gem
Gem for interacting with [Presto cards](http://prestocard.ca). 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
* Security Question
* Security Answer
* Transaction History
* Date
* Service Provider
* Location
* Type
* Amount
* Balance
* Loyalty Month
* Loyalty Trip
* Loyalty Step
* Loyalty Discount## Usage
```ruby
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](https://www.prestocard.ca/en-US/Pages/ContentPages/Terms.aspx).