Closed el0911 closed 5 years ago
@virgincodes Give me Sample code,log file
DEBUG:iqoptionapi.ws.client:{"name":"front","msg":"ws10b"} DEBUG:iqoptionapi.ws.client:{"name":"timeSync","msg":1548496525632} DEBUG:iqoptionapi.ws.client:{"name":"heartbeat","msg":1548496525632} DEBUG:iqoptionapi.api:{"msg": {"msg": {"userTime": 1548496525000, "heartbeatTime": 1548496525632}}, "name": "heartbeat"} DEBUG:iqoptionapi.api:https://api.iqoption.com/api/getprofile DEBUG:iqoptionapi.ws.client:{"name":"timeSync","msg":1548496526637} DEBUG:iqoptionapi.api:<Response [404]> DEBUG:iqoptionapi.api:404 page not found
On Sat, Jan 26, 2019 at 11:06 AM Anson notifications@github.com wrote:
@virgincodes https://github.com/virgincodes Give me Sample code,log file
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Lu-Yi-Hsun/iqoptionapi/issues/71#issuecomment-457818776, or mute the thread https://github.com/notifications/unsubscribe-auth/ALCiXvUodNvf1HZHiO2VAt8ICh6lhpYgks5vHCjAgaJpZM4aUFwY .
@virgincodes i can work great
test your version 3.6.
@virgincodes give me your sample code
check your version
from iqoptionapi.stable_api import IQ_Option
print(IQ_Option.__version__)
version 3.6
@virgincodes Give me your sample code,.
I still can not rebuild your bug
dont get what u mean by that?
the post request to https://api.iqoption.com/api/getprofile on the api is returning 404
@virgincodes give me your python code.
in last version is request https://iqoption.com/api/getprofile
OK THAT worked but the thing is that when i tried using https://iqoption.com/api/login it didnt work i had to get in the code and change the host to https://auth.iqoption.com/api/v1.0/login so it could work and that affected every route
@virgincodes i think you work on old version. because last version is login:https://auth.iqoption.com/api/v1.0/login getprofile:https://iqoption.com/api/getprofile
can you work this code?
import time
from iqoptionapi.stable_api import IQ_Option
I_want_money=IQ_Option("email","password")
goal="EURUSD"
print("get candles")
print(I_want_money.get_candles(goal,60,111,time.time()))
giving me the same error
wait i think ive seen my error it was created by me thinkering let me unisntall and reinstall and i would get back to u man thanks alot
so iqoptionapi can work now?
awesome man it works thanks
hey dude appreciate the API i really do but some bugs are making it quite hard to use the example the login route which i managed to fix and the getprofile route which i can't fix