Documentation improvements
This commit is contained in:
parent
0eeff8d0fb
commit
2a563daf57
|
@ -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
|
||||||
|
|
|
@ -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}'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user