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_rest 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
File details
Details for the file trading212_api_extended-1.0.0.tar.gz
.
File metadata
- Download URL: trading212_api_extended-1.0.0.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 | 42f74e6bd222b0c295b55313d86e9147e13bff3584c4df1bc1134769cf776c22 |
|
MD5 | b1b713bf51d210762a40e7b00be66f8b |
|
BLAKE2b-256 | f5468c3b8edab154027c8acbb37e2525cee8e1c9836697899a6249eb84b3423d |
File details
Details for the file trading212_api_extended-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: trading212_api_extended-1.0.0-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 | 6f95316a29bc8596578a280941768fb9581d06792978fbf2b1c9d48c4bd42689 |
|
MD5 | 0034d2d65ad4b8fe70d4f73b6e5e0848 |
|
BLAKE2b-256 | b470f80cf4aeea3b3897870026950ce35aafeacacd0344c7f7aa4a249bb6cbba |