Skip to main content

Unofficial Degiro API

Project description

degiro-client

Unofficial Degiro API

This Python package is automatically generated by the Swagger Codegen project:

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

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

maximdeclercq00@gmail.com

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

degiro-client-0.0.1a2.dev3.tar.gz (46.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

degiro_client-0.0.1a2.dev3-py3-none-any.whl (114.3 kB view details)

Uploaded Python 3

File details

Details for the file degiro-client-0.0.1a2.dev3.tar.gz.

File metadata

  • Download URL: degiro-client-0.0.1a2.dev3.tar.gz
  • Upload date:
  • Size: 46.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for degiro-client-0.0.1a2.dev3.tar.gz
Algorithm Hash digest
SHA256 1bee2e9ef9d3daf82200649475fdf23a893c0198893d04a3fda5f9edc68c3728
MD5 6123f2f3d74faa6d00f29a9007a91b33
BLAKE2b-256 1c160469db4e08abba167d67922131a230afe51e7a36eb737749728620ff69b1

See more details on using hashes here.

File details

Details for the file degiro_client-0.0.1a2.dev3-py3-none-any.whl.

File metadata

  • Download URL: degiro_client-0.0.1a2.dev3-py3-none-any.whl
  • Upload date:
  • Size: 114.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for degiro_client-0.0.1a2.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 fb5de44483a6ea4e3aa251e2e1cc6c72747549c7a818b9a77afe50bf7282d243
MD5 71ebddf56830c3097c0eec7b43708185
BLAKE2b-256 dedfbf92efa871fe6fd1853b19a65acf3e0d1251fc1e84da6f44681dbb30b7b8

See more details on using hashes here.

Supported by

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