Skip to content

Commit d2ebb60

Browse files
committed
Readme fix
1 parent 676b1e0 commit d2ebb60

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Everything is as simple as the [API](https://help.crypt.bot/crypto-pay-api#avail
1717
2. Access API methods in pythonic notation (getInvoices -> get_invoices)
1818
```
1919
from pyCryptoPayAPI import pyCryptoPayAPI
20-
client = pyCryptoPayAPI(api_token="zzz")
20+
client = pyCryptoPayAPI("API_TOKEN")
2121
print(client.get_balance())
2222
```
2323
You can also check tests.py.

pyCryptoPayAPI/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run_and_print(f):
2525
return None
2626

2727
def 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())

0 commit comments

Comments
 (0)