Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

client.ticker() çalışmıyor. #5

Open
@SaitamaTechno

Description

@SaitamaTechno

kodum:

from btcturk import Btcturk
client = Btcturk()
client.ticker()

hata:

client.ticker()
Traceback (most recent call last):
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 960, in json
return complexjson.loads(self.content.decode(encoding), **kwargs)
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\site-packages\btcturk\btcturk.py", line 66, in ticker
return self._make_request(method="GET", path="ticker", protection=False)
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\site-packages\btcturk\btcturk.py", line 41, in _make_request
return resp.json()
File "C:\Users\ENES\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 968, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions