I just tried login and its not working as it should can anyone please help me in this regard what is wrong i am doing
here is code 👍
from iqoptionapi.stable_api import IQ_Option
import time
print("login...")
import logging
logging.basicConfig(level=logging.DEBUG,format='%(asctime)s %(message)s')
I_want_money=IQ_Option("email here","Password here")
and here is error that i am getting. thanks in advance
Python 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
===== RESTART: C:\Users\e9les\Desktop\iqapi\iqoptionapi-master\login.py =====
login...
2018-11-07 16:55:15,088 https://auth.iqoption.com/api/v1.0/login
2018-11-07 16:55:15,088 Starting new HTTPS connection (1): auth.iqoption.com:443
2018-11-07 16:55:16,019 https://auth.iqoption.com:443 "POST /api/v1.0/login HTTP/1.1" 200 52
2018-11-07 16:55:16,066 <Response [200]>
2018-11-07 16:55:16,066 {"data":{"ssid":"1789e23f67b2655e97fe93d87d9dc3ee"}}
2018-11-07 16:55:16,066 {'Server': 'nginx', 'Date': 'Wed, 07 Nov 2018 11:55:14 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '52', 'Connection': 'keep-alive', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'Accept, Accept-Language, Content-Type, YourOwnHeader', 'Access-Control-Allow-Methods': 'POST, GET, OPTIONS, PUT, DELETE', 'Access-Control-Allow-Origin': '', 'Set-Cookie': 'ssid=1789e23f67b2655e97fe93d87d9dc3ee; Path=/; Domain=iqoption.com; Max-Age=2592000; Secure', 'Strict-Transport-Security': 'max-age=15555600', 'X-Content-Type-Options': 'nosniff'}
2018-11-07 16:55:16,066 <RequestsCookieJar[<Cookie ssid=1789e23f67b2655e97fe93d87d9dc3ee for .iqoption.com/>]>
2018-11-07 16:55:16,082 error connect() fail
2018-11-07 16:55:17,084 https://auth.iqoption.com/api/v1.0/login
2018-11-07 16:55:17,084 Starting new HTTPS connection (1): auth.iqoption.com:443
2018-11-07 16:55:17,846 https://auth.iqoption.com:443 "POST /api/v1.0/login HTTP/1.1" 200 52
2018-11-07 16:55:17,846 <Response [200]>
2018-11-07 16:55:17,846 {"data":{"ssid":"157e8b9fe6ad27b076325f8a56926e16"}}
2018-11-07 16:55:17,846 {'Server': 'nginx', 'Date': 'Wed, 07 Nov 2018 11:55:16 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '52', 'Connection': 'keep-alive', 'Access-Control-Allow-Credentials': 'true', 'Access-Control-Allow-Headers': 'Accept, Accept-Language, Content-Type, YourOwnHeader', 'Access-Control-Allow-Methods': 'POST, GET, OPTIONS, PUT, DELETE', 'Access-Control-Allow-Origin': '', 'Set-Cookie': 'ssid=157e8b9fe6ad27b076325f8a56926e16; Path=/; Domain=iqoption.com; Max-Age=2592000; Secure', 'Strict-Transport-Security': 'max-age=15555600', 'X-Content-Type-Options': 'nosniff'}
2018-11-07 16:55:17,862 <RequestsCookieJar[<Cookie ssid=157e8b9fe6ad27b076325f8a56926e16 for .iqoption.com/>]>
2018-11-07 16:55:17,862 error connect() fail
2018-11-07 16:55:18,870 https://auth.iqoption.com/api/v1.0/login
2018-11-07 16:55:18,870 Starting new HTTPS connection (1): auth.iqoption.com:443