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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4cb5a7e574acbd493ed1dc8bd64040d0441503a353ba7de30a559b5c46cf61a |
|
MD5 | 43c5a27991dbfeae0eb3c137ab72bc3f |
|
BLAKE2b-256 | e5eb286d17ce4047ff03afa4f11c6c1270122aa6d053949d1a2a229a57abb978 |