8000 client.ticker() çalışmıyor. · Issue #5 · erhan/pybtcturk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 7, 2023. It is now read-only.

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

Open
SaitamaTechno opened this issue May 24, 2023 · 0 comments
Open

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

SaitamaTechno opened this issue May 24, 2023 · 0 comments

Comments

@SaitamaTechno
Copy link
SaitamaTechno commented May 24, 2023

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)

@SaitamaTechno SaitamaTechno changed the title Hata alıyorum client.ticker() çalışmıyor. May 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0