Skip to main content

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

python_trading212-0.1.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

python_trading212-0.1.0-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

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