Skip to main content

the unofficial Robinhood API

Project description

robinhood-api

PyPI version Publish to PyPI workflow

the unofficial Robinhood API (pre-alpha)

Installation

pip install robinhood-api

Authentication

The first time you log in, you will be prompted to verify your identity by entering a code send to your phone or email. This will generate an OAuth bearer token that will be stored in tokens.json. Subsequent logins will not require your credentials.

Usage

import robinhood


# you will be prompted for your username and password
robinhood.login()  

# check your stocks
print(robinhood.positions())

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robinhood-api-0.1.4.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

robinhood_api-0.1.4-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page