An unofficial client for the official Trading212 API
Project description
pytrading212
A client for the Trading212 API
Installation
pip install pytrading212
Usage
Set your read-only API key in the environment variable:
export TRADING_212_KEY=<your-api-key>
from pytrading212 import Trading212, Pie
trading212 = Trading212()
pie: Pie = trading212.fetch_pie(123)
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
Built Distribution
Close
Hashes for python_trading212-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 320d44851bb915f13a95c6b6e6ba90b57ad06655aa1bbf7eff1a9d7ca4a57f89 |
|
MD5 | 07bb12eb0bb31c8453d9244fd0e01c83 |
|
BLAKE2b-256 | dbb0c191712eca111933ba382ce1d5d4cb7c795c40f8fb97e51b31b4118d537a |