Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 654 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 654 Bytes

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.