/degiro-api

An unofficial DeGiro API module for Python.

Primary LanguagePythonMIT LicenseMIT

degiro-api

This repository contains an unofficial DeGiro API module for Python 3.

Install

pip install degiro-api

Usage

from degiro import DeGiro
from degiro.product import Product

from config import DEGIRO_USERNAME, DEGIRO_PASSWORD

degiro = DeGiro()
degiro.login(DEGIRO_USERNAME, DEGIRO_PASSWORD)
products = degiro.search_products('Vanguard', product_types=[Product.Type.ETF])
print(f'{products[0]["name"]}: {products[0]["isin"]}')

For more examples, see examples.

Logging

The module uses logging. It should be adjusted as a project-wide modification.