Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@joemccann/robinhood-api

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@joemccann/robinhood-api

📈 Unofficial node.js package for the Robinhood.com API.

  • 1.5.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

Keywords

FAQs

Package last updated on 01 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc