{"repo":"bennycode/trading212-api","free":true,"listed":false,"github":"https://github.com/bennycode/trading212-api","clone":"git clone https://github.com/bennycode/trading212-api.git","description":null,"language":"TypeScript","stars":10,"topics":["api","exchange","sdk","stocks","trading","trading212","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Trading 212 API for TypeScript --- Motivation This Trading 212 API can be used with TypeScript and comes with many useful features such as automatic reconnects and response validation. Implemented Endpoints - [x] Account Data - [x] Equity Orders - [x] Historical items - [x] Instruments Metadata - [x] Personal Portfolio - [x] Pies Features - ✅ Documented. Get started with [demo scripts][1] and [generated documentation][2]. - ✅ Maintained. Automated security updates. No threats from outdated dependencies. - ✅ Modern. HTTP client with Promise API. Don't lose yourself in callback hell. - ✅ Reliable. Follows [semantic versioning][3]. Get notified about breaking changes. - ✅ Robust. Automatic requests retries are built-in. No problems if your Wi-Fi is gone. - ✅ Tested. Unit test coverage to guarantee core functionaly. - ✅ Typed. Source code is 100% TypeScript. No need to install external typings. Usage Installation npm REST Example The [demo section][1] provides many examples on how to use \"trading212-api\". There is also an automatically generated [API documentation][2]. For a quick start, here is a simple example for a REST request: API Key Generation In order to generate an API key, you can follow the official instructions. Basically, you need to login, click on your account and do the following: 1. Click \"Switch to Practice\" in order to generate an API key for the demo code, otherwise a live API key will be generated 2. Go to \"Settings\" 3. Click on \"API (Beta)\" Development If cl","default_branch":null,"files":null,"tree":[],"storefront":"/r/bennycode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/bennycode/trading212-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}