GithubHelp home page GithubHelp logo

dmreiland / lending_club Goto Github PK

View Code? Open in Web Editor NEW

This project forked from flushentitypacket/lending_club

0.0 2.0 0.0 300 KB

Unofficial Ruby wrapper for the Lending Club API

License: MIT License

Ruby 100.00%

lending_club's Introduction

LendingClub

A Ruby wrapper for the Lending Club API.

Installation

$ gem install lending_club

Usage

Obtain credentials

  1. Request access to the Lending Club API to obtain your key.
  2. Log in to find your investor id. You can find it in your account summary ("My Account yourinvestorid").

Example

# Set credentials
LendingClub.access_token = 'abc123'
LendingClub.investor_id = '12345678'
# Make a call
summary = LendingClub.summary
# Check available cash
summary.available_cash

Console

Create a credentials.yml from the example in the /config dir.

$ rake console

The console task will load and set your credentials from the credentials.yml, so you can start using the API right away.

Changelog

0.0.2 Added #to_h feature to all client objects.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/lending_club/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Credit

Credit where credit is due: I modeled this gem closely after the Instagram API gem instagram-ruby-gem.

lending_club's People

Contributors

flushentitypacket avatar rhong-fiksu avatar

Watchers

Dan Reiland avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.