From 2a563daf57c8d05e06347c4b449a869afdc086d4 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Tue, 16 Jul 2024 21:54:13 +0200 Subject: [PATCH] Documentation improvements --- fin_depo/__init__.py | 13 +++++++++---- fin_depo/investbank_nordnet.py | 1 - 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/fin_depo/__init__.py b/fin_depo/__init__.py index 8dc125c..637e601 100644 --- a/fin_depo/__init__.py +++ b/fin_depo/__init__.py @@ -4,8 +4,8 @@ Python library for automatic fetching of personal asset depo information. Supports: -- **Kraken**: Uses their API -- **Kucoin**: Uses their API +- **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/). +- **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction). - **Partisia Blockchain Account**: Uses a reader node to check the account state. - **Nordnet**: Through their @@ -20,6 +20,11 @@ Supports: - [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA? """ -__all__ = ['defi_kraken', 'defi_kucoin', 'defi_partisia_blockchain'] +__all__ = [ + 'defi_kraken', + 'defi_kucoin', + 'defi_partisia_blockchain', + 'investbank_nordnet', +] -from . import defi_kraken, defi_kucoin, defi_partisia_blockchain +from . import defi_kraken, defi_kucoin, defi_partisia_blockchain, investbank_nordnet diff --git a/fin_depo/investbank_nordnet.py b/fin_depo/investbank_nordnet.py index 83100d8..8444835 100644 --- a/fin_depo/investbank_nordnet.py +++ b/fin_depo/investbank_nordnet.py @@ -65,7 +65,6 @@ class NordnetDepoFetcher: assert self.username is not None, 'Username is missing' assert self.password is not None, 'Password is missing' - def get_json(self, url: str, params: dict[str, str | int] = {}) -> dict: if not url.startswith(API_ROOT): msg = f'Given url must be located below API ROOT: {url}'