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 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.dev2.tar.gz (46.3 kB view hashes)

Uploaded Source

Built Distribution

degiro_client-0.0.1a2.dev2-py3-none-any.whl (114.2 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