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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file robinhood-api-0.1.4.tar.gz.

File metadata

  • Download URL: robinhood-api-0.1.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for robinhood-api-0.1.4.tar.gz
Algorithm Hash digest
SHA256 be2e3a1928c4b0c0beca916aae23481845569da4c67465edc890bdf7fd403a57
MD5 a8aa3d6fcd82f7637783d61ca66e42dd
BLAKE2b-256 b05baf6dbdb2355d7f65e1941daf5f998723919bf2b2d061370f1324d8fdcae4

See more details on using hashes here.

File details

Details for the file robinhood_api-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: robinhood_api-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for robinhood_api-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 61a23941e6fd549b4a2da4a6547089683c6662869b9616a0192742077b1886c6
MD5 40ac459ae6f423bfd7b4370f450dc0a9
BLAKE2b-256 efafdcf96fd9a4c4ddb6d1b46c39341b6a6571740c3dc34543e2f6e6ce660320

See more details on using hashes here.

Supported by

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