starlingrb

Ruby library for interacting with the Starling Bank API

MIT License

Downloads
621
Stars
1

StarlingRB

This library is a work in progress

StarlingRB is a Ruby library for interacting with the Starling Bank API.

Installation

Add this line to your application's Gemfile:

gem "starlingrb", require: "starling"

Usage

Set Client Details

Firstly you'll need to set an Access Token.

@client = Starling::Client.new(access_token: "")

Accounts

Starling::Account.list
Starling::Account.balance(account: "account_uid")

Transactions

# from and to should be date time stamps
Starling::Transaction.list(account: "account_uid", from: Date.parse("2023-01-01").to_datetime, to: Date.today.to_datetime)

Contributing

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

License

The gem is available as open source under the terms of the MIT License.