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.dev3
- 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 | confirm_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.dev3.tar.gz
(46.4 kB
view hashes)
Built Distribution
Close
Hashes for degiro-client-0.0.1a2.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bee2e9ef9d3daf82200649475fdf23a893c0198893d04a3fda5f9edc68c3728 |
|
MD5 | 6123f2f3d74faa6d00f29a9007a91b33 |
|
BLAKE2b-256 | 1c160469db4e08abba167d67922131a230afe51e7a36eb737749728620ff69b1 |
Close
Hashes for degiro_client-0.0.1a2.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb5de44483a6ea4e3aa251e2e1cc6c72747549c7a818b9a77afe50bf7282d243 |
|
MD5 | 71ebddf56830c3097c0eec7b43708185 |
|
BLAKE2b-256 | dedfbf92efa871fe6fd1853b19a65acf3e0d1251fc1e84da6f44681dbb30b7b8 |