{"action":"created","issue":{"url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/48","repository_url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi","labels_url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/48/comments","events_url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/48/events","html_url":"https://github.com/Lu-Yi-Hsun/iqoptionapi/issues/48","id":378260507,"node_id":"MDU6SXNzdWUzNzgyNjA1MDc=","number":48,"title":"failed to get login","user":{"login":"shahzadakram","id":7987290,"node_id":"MDQ6VXNlcjc5ODcyOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/7987290?v=4","gravatar_id":"","url":"https://api.github.com/users/shahzadakram","html_url":"https://github.com/shahzadakram","followers_url":"https://api.github.com/users/shahzadakram/followers","following_url":"https://api.github.com/users/shahzadakram/following{/other_user}","gists_url":"https://api.github.com/users/shahzadakram/gists{/gist_id}","starred_url":"https://api.github.com/users/shahzadakram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahzadakram/subscriptions","organizations_url":"https://api.github.com/users/shahzadakram/orgs","repos_url":"https://api.github.com/users/shahzadakram/repos","events_url":"https://api.github.com/users/shahzadakram/events{/privacy}","received_events_url":"https://api.github.com/users/shahzadakram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-11-07T12:06:14Z","updated_at":"2018-11-07T18:52:24Z","closed_at":null,"author_association":"NONE","body":"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 \r\n\r\nhere is code 👍 \r\n\r\n\r\nfrom iqoptionapi.stable_api import IQ_Option\r\nimport time\r\nprint(\"login...\")\r\nimport logging\r\nlogging.basicConfig(level=logging.DEBUG,format='%(asctime)s %(message)s')\r\nI_want_money=IQ_Option(\"email here\",\"Password here\")\r\n\r\nand here is error that i am getting. thanks in advance\r\n\r\n\r\n\r\n\r\nPython 3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)] on win32\r\nType \"help\", \"copyright\", \"credits\" or \"license()\" for more information.\r\n>>> \r\n===== RESTART: C:\\Users\\e9les\\Desktop\\iqapi\\iqoptionapi-master\\login.py =====\r\nlogin...\r\n2018-11-07 16:55:15,088 https://auth.iqoption.com/api/v1.0/login\r\n2018-11-07 16:55:15,088 Starting new HTTPS connection (1): auth.iqoption.com:443\r\n2018-11-07 16:55:16,019 https://auth.iqoption.com:443 \"POST /api/v1.0/login HTTP/1.1\" 200 52\r\n2018-11-07 16:55:16,066 <Response [200]>\r\n2018-11-07 16:55:16,066 {\"data\":{\"ssid\":\"1789e23f67b2655e97fe93d87d9dc3ee\"}}\r\n2018-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'}\r\n2018-11-07 16:55:16,066 <RequestsCookieJar[<Cookie ssid=1789e23f67b2655e97fe93d87d9dc3ee for .iqoption.com/>]>\r\n2018-11-07 16:55:16,082 **error** connect() fail\r\n2018-11-07 16:55:17,084 https://auth.iqoption.com/api/v1.0/login\r\n2018-11-07 16:55:17,084 Starting new HTTPS connection (1): auth.iqoption.com:443\r\n2018-11-07 16:55:17,846 https://auth.iqoption.com:443 \"POST /api/v1.0/login HTTP/1.1\" 200 52\r\n2018-11-07 16:55:17,846 <Response [200]>\r\n2018-11-07 16:55:17,846 {\"data\":{\"ssid\":\"157e8b9fe6ad27b076325f8a56926e16\"}}\r\n2018-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'}\r\n2018-11-07 16:55:17,862 <RequestsCookieJar[<Cookie ssid=157e8b9fe6ad27b076325f8a56926e16 for .iqoption.com/>]>\r\n2018-11-07 16:55:17,862 **error** connect() fail\r\n2018-11-07 16:55:18,870 https://auth.iqoption.com/api/v1.0/login\r\n2018-11-07 16:55:18,870 Starting new HTTPS connection (1): auth.iqoption.com:443\r\n"},"comment":{"url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/comments/436736162","html_url":"https://github.com/Lu-Yi-Hsun/iqoptionapi/issues/48#issuecomment-436736162","issue_url":"https://api.github.com/repos/Lu-Yi-Hsun/iqoptionapi/issues/48","id":436736162,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjczNjE2Mg==","user":{"login":"shahzadakram","id":7987290,"node_id":"MDQ6VXNlcjc5ODcyOTA=","avatar_url":"https://avatars2.githubusercontent.com/u/7987290?v=4","gravatar_id":"","url":"https://api.github.com/users/shahzadakram","html_url":"https://github.com/shahzadakram","followers_url":"https://api.github.com/users/shahzadakram/followers","following_url":"https://api.github.com/users/shahzadakram/following{/other_user}","gists_url":"https://api.github.com/users/shahzadakram/gists{/gist_id}","starred_url":"https://api.github.com/users/shahzadakram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahzadakram/subscriptions","organizations_url":"https://api.github.com/users/shahzadakram/orgs","repos_url":"https://api.github.com/users/shahzadakram/repos","events_url":"https://api.github.com/users/shahzadakram/events{/privacy}","received_events_url":"https://api.github.com/users/shahzadakram/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T18:52:24Z","updated_at":"2018-11-07T18:52:24Z","author_association":"NONE","body":"when i tried this command and it gave me error\r\n\r\npip3 install websocket==0.47\r\n\r\nerror is \r\nCollecting websocket==0.47\r\n  Could not find a version that satisfies the requirement websocket==0.47 (from versions: 0.2.1)\r\nNo matching distribution found for websocket==0.47\r\nYou are using pip version 10.0.1, however version 18.1 is available.\r\nYou should consider upgrading via the 'python -m pip install --upgrade pip' command.\r\n"}}
{"actor":{"display_login":"shahzadakram"}}