{"action":"created","issue":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/2004","repository_url":"https://api.github.com/repos/ccxt/ccxt","labels_url":"https://api.github.com/repos/ccxt/ccxt/issues/2004/labels{/name}","comments_url":"https://api.github.com/repos/ccxt/ccxt/issues/2004/comments","events_url":"https://api.github.com/repos/ccxt/ccxt/issues/2004/events","html_url":"https://github.com/ccxt/ccxt/issues/2004","id":299021336,"number":2004,"title":"Access-Control-Allow-Origin  'no-cors' ","user":{"login":"2l1k","id":22009675,"avatar_url":"https://avatars3.githubusercontent.com/u/22009675?v=4","gravatar_id":"","url":"https://api.github.com/users/2l1k","html_url":"https://github.com/2l1k","followers_url":"https://api.github.com/users/2l1k/followers","following_url":"https://api.github.com/users/2l1k/following{/other_user}","gists_url":"https://api.github.com/users/2l1k/gists{/gist_id}","starred_url":"https://api.github.com/users/2l1k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2l1k/subscriptions","organizations_url":"https://api.github.com/users/2l1k/orgs","repos_url":"https://api.github.com/users/2l1k/repos","events_url":"https://api.github.com/users/2l1k/events{/privacy}","received_events_url":"https://api.github.com/users/2l1k/received_events","type":"User","site_admin":false},"labels":[{"id":604886965,"url":"https://api.github.com/repos/ccxt/ccxt/labels/duplicate","name":"duplicate","color":"cccccc","default":true},{"id":604886969,"url":"https://api.github.com/repos/ccxt/ccxt/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"kroitor","id":1294454,"avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false},"assignees":[{"login":"kroitor","id":1294454,"avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-21T15:46:53Z","updated_at":"2018-02-21T15:51:02Z","closed_at":"2018-02-21T15:51:02Z","author_association":"NONE","body":"Failed to load https://api.binance.com/api/v1/exchangeInfo: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://domain.com' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."},"comment":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/comments/367371150","html_url":"https://github.com/ccxt/ccxt/issues/2004#issuecomment-367371150","issue_url":"https://api.github.com/repos/ccxt/ccxt/issues/2004","id":367371150,"user":{"login":"kroitor","id":1294454,"avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T15:51:02Z","updated_at":"2018-02-21T15:51:02Z","author_association":"OWNER","body":"```\r\nmbp:ccxt igorkroitor$ node examples/js/cli binance has\r\n{                 CORS:  false, // ←------------------------------------ no CORS for Binance\r\n             publicAPI:  true,\r\n            privateAPI:  true,\r\n           cancelOrder:  true,\r\n          cancelOrders:  false,\r\n  createDepositAddress:  false,\r\n           createOrder:  true,\r\n               deposit:  false,\r\n             editOrder: \"emulated\",\r\n          fetchBalance:  true,\r\n         fetchBidsAsks:  true,\r\n     fetchClosedOrders:  true,\r\n       fetchCurrencies:  false,\r\n   fetchDepositAddress:  true,\r\n      fetchFundingFees:  false,\r\n      fetchL2OrderBook:  true,\r\n          fetchMarkets:  true,\r\n         fetchMyTrades:  true,\r\n            fetchOHLCV:  true,\r\n       fetchOpenOrders:  true,\r\n            fetchOrder:  true,\r\n        fetchOrderBook:  true,\r\n       fetchOrderBooks:  false,\r\n           fetchOrders:  true,\r\n           fetchTicker:  true,\r\n          fetchTickers:  true,\r\n           fetchTrades:  true,\r\n              withdraw:  true       }\r\nmbp:ccxt igorkroitor$\r\n```\r\n\r\nBinance does not offer CORS.\r\n\r\nhttps://github.com/ccxt/ccxt/wiki/Install#cors-access-control-allow-origin\r\n\r\nLet us know if it doesn't help. Thx!"}}
{"actor":{"display_login":"kroitor"}}