1
0

Documentation improvements

This commit is contained in:
Jon Michael Aanes 2024-07-16 21:54:13 +02:00
parent 0eeff8d0fb
commit 2a563daf57
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA
2 changed files with 9 additions and 5 deletions

View File

@ -4,8 +4,8 @@ Python library for automatic fetching of personal asset depo information.
Supports: Supports:
- **Kraken**: Uses their API - **Kraken**: Uses their [publicly documented API](https://docs.kraken.com/rest/).
- **Kucoin**: Uses their API - **Kucoin**: Uses their [publicly documented API](https://www.kucoin.com/docs/beginners/introduction).
- **Partisia Blockchain Account**: Uses a reader node to check the account - **Partisia Blockchain Account**: Uses a reader node to check the account
state. state.
- **Nordnet**: Through their - **Nordnet**: Through their
@ -20,6 +20,11 @@ Supports:
- [ ] Personal Bank: Personal Bank Account (Open Banking) Maybe use AIIA? - [ ] 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

View File

@ -65,7 +65,6 @@ class NordnetDepoFetcher:
assert self.username is not None, 'Username is missing' assert self.username is not None, 'Username is missing'
assert self.password is not None, 'Password is missing' assert self.password is not None, 'Password is missing'
def get_json(self, url: str, params: dict[str, str | int] = {}) -> dict: def get_json(self, url: str, params: dict[str, str | int] = {}) -> dict:
if not url.startswith(API_ROOT): if not url.startswith(API_ROOT):
msg = f'Given url must be located below API ROOT: {url}' msg = f'Given url must be located below API ROOT: {url}'