LoginSignup
biggrin1
@biggrin1

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

Stake.com APIにてJSONDecodeError

非公式stake-apiの使用

Stake.comで使用するAPI

エラーが発生しました。
解決方法を教えて下さい。

下記を実行しました

from stake_api import Stake

stake = Stake('123456789')

response = stake.user_balances()
for currency in response['data']['user']['balances']:
    print(f"{currency['available']['amount']} {currency['available']['currency'].upper()}")

発生している問題・エラー

requests.exceptions.JSONDecodeError
0

1Answer

Your answer might help someone💌