Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 4 | ||
Bugs | 0 | Features | 3 |
1 | #!/usr/bin/python |
||
7 | class IUser(BitSkins): |
||
8 | """Implementation of the API methods related to the user on BitSkins""" |
||
9 | |||
10 | def __init__(self, *args, **kwargs): |
||
11 | """Initializing function""" |
||
12 | super().__init__(*args, **kwargs) |
||
13 | |||
14 | def get_account_balance(self) -> APIResponse: |
||
15 | """GetAccountBalance v1 implementation |
||
16 | https://bitskins.com/api/#get_account_balance |
||
17 | |||
18 | :return: |
||
19 | """ |
||
20 | api_url = "https://bitskins.com/api/v1/get_account_balance/" |
||
21 | |||
22 | return self.api_request(api_url=api_url) |
||
23 |