Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trading212_api_extended-1.0.0.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

trading212_api_extended-1.0.0-py3-none-any.whl (5.2 MB view details)

Uploaded Python 3

File details

Details for the file trading212_api_extended-1.0.0.tar.gz.

File metadata

File hashes

Hashes for trading212_api_extended-1.0.0.tar.gz
Algorithm Hash digest
SHA256 42f74e6bd222b0c295b55313d86e9147e13bff3584c4df1bc1134769cf776c22
MD5 b1b713bf51d210762a40e7b00be66f8b
BLAKE2b-256 f5468c3b8edab154027c8acbb37e2525cee8e1c9836697899a6249eb84b3423d

See more details on using hashes here.

File details

Details for the file trading212_api_extended-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for trading212_api_extended-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f95316a29bc8596578a280941768fb9581d06792978fbf2b1c9d48c4bd42689
MD5 0034d2d65ad4b8fe70d4f73b6e5e0848
BLAKE2b-256 b470f80cf4aeea3b3897870026950ce35aafeacacd0344c7f7aa4a249bb6cbba

See more details on using hashes here.

Supported by

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