1.8.0 ā€¢ Published 4 years ago

@joemccann/robinhood-api v1.8.0

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Robinhood API

šŸ“ˆ Unofficial node.js client for accessing the APIs called on Robinhood.com.

NOTE: THIS IS A WORK IN PROGRESS AND NOT RECOMMENDED FOR ANY USAGE BEYOND TINKERING.

Installation

npm i -S @joemccann/robinhood-api

Usage

Create a .env with the following:

U=XXX
PASS=YYY
QR=ZZZ # From 2FA from Robinhood
CLIENT_ID=c82SH0WZOsabOXGP2sxqcj34FxkvfnWRZBKlBjFS # From Robinhood
RH_API_VERSION=1.403.0 # Optional, defaults to 1.315.0
const { login } = require('@joemccann/robinhood-api')

try {
  const { data, statusCode } = await login()
  console.dir(data)
  console.log(statusCode) // 200
} catch (e) {
  console.error(e)
}

For more information on the requests and responses view the test file.

Tests

npm i -D
npm test

License

MIT

Authors

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago