Skip to content
Ruby binding for the figo Connect API.
Ruby
Branch: master
Clone or download
Pull request Compare This branch is 66 commits ahead, 2 commits behind figo-connect:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.gitignore
.rubocop.yml
.travis.yml
Gemfile
README.md
Rakefile
figo.gemspec

README.md

ruby-figo Build Status Gem Version

Ruby bindings for the figo Connect API: http://docs.figo.io

Usage

First, you've to install the gem:

gem install figo

Now you can retrieve data with an user bound session

require 'figo'
connection = Figo::Connection.new(<client_id>, <client_secret>)

# Trade in user credentials, refresh token or authorization code for access token.
token_hash = connection.user_credential_request(<username>, <password>) # or..
token_hash = connection.refresh_token_request(<refresh_token>) # or..
token_hash = connection.authorization_code_request(<authorization_code>, <redirect_uri>)

# Start session.
session = Figo::Session.new(token_hash['access_token'])

# Retrieve data
session.accounts.each do |account|
  puts account.account_number
  ...
}

You can find more documentation at http://rubydoc.info/github/figo-connect/ruby-figo/master/frames

You can’t perform that action at this time.