An Extended (unofficial) Rest API client for Trading212
Project description
Rest API client for Trading212
Based on the API of Trading212. This Package replaces trading212-rest which is missing most recent endpoints. At the Moment this package contains all endpoints provided by the official Trading212 API. Should there be any endpojnts that aren't currently provided feel free to create an issue and I'll implement them ASAP.
Recently added Endpoints include:
- All Pies Endpoints
- History Export Endpoints
Installation
pip install trading212-api-extended
Usage
from trading212_api_extended import Trading212
client = Trading212(api_key="your_api_token", demo=False)
orders = client.orders()
dividends = client.dividends()
This is just a small selection of functions. Most endpoints are already implemented.
For a full documentation on Trading212 endpoint paramaters see https://t212public-api-docs.redoc.ly/
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trading212_api_extended-1.0.1.tar.gz.
File metadata
- Download URL: trading212_api_extended-1.0.1.tar.gz
- Upload date:
- Size: 4.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b6e02c0ebe5bc148d77db9f71f8de28b72109d048d86d0a7ad02e81d61a2cf9
|
|
| MD5 |
2cca8f43eaddc20e454dc41f17570f89
|
|
| BLAKE2b-256 |
926e6804083f12f157b079a8eb045b343ab7357bc17c003b493f7ab26be91163
|
File details
Details for the file trading212_api_extended-1.0.1-py3-none-any.whl.
File metadata
- Download URL: trading212_api_extended-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5db701adb274495d5d3a80ae90d8d99fcc977f57dc6541edd2581f53d37b8933
|
|
| MD5 |
85baef807b32e47983f3adee7b876cc3
|
|
| BLAKE2b-256 |
4d9d9838141a0b257c7a6432db3f8ac06887e195c7c70bd54cfb953823843593
|