Unofficial Degiro API
Project description
degiro-client
Unofficial Degiro API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 0.0.1
- Package version: 0.0.1a2.dev2
- Build package: io.swagger.codegen.v3.generators.python.PythonClientCodegen For more information, please visit https://github.com/maximdeclercq/degiro-client
Requirements.
Python 2.7 and 3.4+
Installation & Usage
pip install
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/maximdeclercq/degiro-client.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/maximdeclercq/degiro-client.git
)
Then import the package:
import degiro_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import degiro_client
Getting Started
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import degiro_client
from degiro_client.rest import ApiException
from pprint import pprint
# Configure API key authorization: IntAccountAuth
configuration = degiro_client.Configuration()
configuration.api_key['intAccount'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['intAccount'] = 'Bearer'
# Configure API key authorization: SessionIdAuth
configuration = degiro_client.Configuration()
configuration.api_key['sessionId'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['sessionId'] = 'Bearer'
# create an instance of the API class
api_instance = degiro_client.ConfigApi(degiro_client.ApiClient(configuration))
try:
# Returns the config
api_response = api_instance.config()
pprint(api_response)
except ApiException as e:
print("Exception when calling ConfigApi->config: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://trader.degiro.nl
Class | Method | HTTP request | Description |
---|---|---|---|
ConfigApi | config | GET /login/secure/config | Returns the config |
LoginApi | login | POST /login/secure/login | Logs in |
PaApi | client | GET /pa/secure/client | Returns the client |
PaApi | clienttasks | GET /pa/secure/clienttasks | Returns the client tasks |
PaApi | clienttasks_taskmanager_count | GET /pa/secure/clienttasks/taskmanager/count | Returns the client tasks |
ProductSearchApi | lookup | GET /product_search/secure/v5/products/lookup | TODO |
ReportingApi | orderhistory | GET /reporting/secure/v4/order_history | TODO |
ReportingApi | reporting | GET /reporting/secure/v4 | TODO |
SettingsApi | beta_test | GET /pa/secure/settings/beta-test | TODO |
SettingsApi | iex | GET /pa/secure/settings/iex | TODO |
SettingsApi | user | GET /pa/secure/settings/user | TODO |
SettingsApi | web | GET /pa/secure/settings/web | TODO |
TradingApi | account_info | GET /trading/secure/v5/account/info/{intAccount};jsessionid={sessionId} | TODO |
TradingApi | check_order | POST /trading/secure/v5/checkOrder;jsessionid={sessionId} | TODO |
TradingApi | order | POST /trading/secure/v5/order/{confirmationId};jsessionid={sessionId} | TODO |
TradingApi | update | GET /trading/secure/v5/update/{intAccount};jsessionid={sessionId} | TODO |
Documentation For Models
- Any
- CheckOrderResponse
- CheckOrderResponseData
- CheckOrderResponseDataTransactionFees
- ClientResponse
- ClientResponseData
- ClientResponseDataAddress
- ClientResponseDataBankAccount
- ClientResponseDataFirstContact
- ConfigResponse
- ConfigResponseData
- InlineResponse200
- InlineResponse2001
- InlineResponse2001Data
- InlineResponse2002
- InlineResponse2002Data
- InlineResponse2002DataDesktop
- InlineResponse2002DataMobile
- InlineResponse2003
- InlineResponse2003Data
- InlineResponse2003DataMarketPageChartIndex
- InlineResponse2003DataMarketPageCurrencies
- InlineResponse2003DataMarketPageFutures
- InlineResponse2004
- InlineResponse2004Products
- InlineResponse200Data
- LoginRequest
- LoginResponse
- OneOfAny
- OrderRequest
- OrderResponse
- OrderResponseData
- UpdateResponse
- UpdateResponsePart
- UpdateResponsePartValue
- UpdateResponsePartValue1
Documentation For Authorization
IntAccountAuth
- Type: API key
- API key parameter name: intAccount
- Location: URL query string
SessionIdAuth
- Type: API key
- API key parameter name: sessionId
- Location: URL query string
Author
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
degiro-client-0.0.1a2.dev2.tar.gz
(46.3 kB
view hashes)
Built Distribution
Close
Hashes for degiro-client-0.0.1a2.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09680c2ebe460d36f4f25f0b9575ae562fc835b2fd642afdd67a5e5e67e9eaf3 |
|
MD5 | 1ae2b1d38f263b1b48c34dfbdc33694e |
|
BLAKE2b-256 | b8f35f9e0130455671f90abcb0a2531697b4b4ac33c2940e896d2cb89eb1e67c |
Close
Hashes for degiro_client-0.0.1a2.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a35e2530f06228bed1bc96c315e0da9ccf8388d63712904cffbca3db2cd1610e |
|
MD5 | 3cd5fb5516b3b5db21fd9e89532f8df2 |
|
BLAKE2b-256 | c69e55c4774073e15ee4fc20d1a02372b23e00cc321edbf9f2c49fad13822cca |