File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ Everything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#avail
17172 . Access API methods in pythonic notation (getInvoices -> get_invoices)
1818```
1919from pyCryptoPayAPI import pyCryptoPayAPI
20- client = pyCryptoPayAPI(api_token="zzz ")
20+ client = pyCryptoPayAPI("API_TOKEN ")
2121print(client.get_balance())
2222```
2323You can also check tests.py.
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def run_and_print(f):
2525 return None
2626
2727def run_api_functions (result_as_class ):
28- client = pyCryptoPayAPI (api_token = test_api_token , print_errors = True , result_as_class = result_as_class )
28+ client = pyCryptoPayAPI (test_api_token , print_errors = True , result_as_class = result_as_class )
2929 run_and_print (lambda : client .get_me ())
3030 run_and_print (lambda : client .get_balance ())
3131 run_and_print (lambda : client .get_exchange_rates ())
You can’t perform that action at this time.
0 commit comments