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
CLIENT_ID=c82SH0WZOsabOXGP2sxqcj34FxkvfnWRZBKlBjFS
const { login } = require('@joemccann/robinhood-api')
try {
const { data, statusCode } = await login()
console.dir(data)
console.log(statusCode)
} 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