{"action":"opened","issue":{"url":"https://api.github.com/repos/itho/cryptotracker/issues/12","repository_url":"https://api.github.com/repos/itho/cryptotracker","labels_url":"https://api.github.com/repos/itho/cryptotracker/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/itho/cryptotracker/issues/12/comments","events_url":"https://api.github.com/repos/itho/cryptotracker/issues/12/events","html_url":"https://github.com/itho/cryptotracker/issues/12","id":305077310,"number":12,"title":"Update icon and sparkline endpoints.","user":{"login":"itho","id":8313454,"avatar_url":"https://avatars1.githubusercontent.com/u/8313454?v=4","gravatar_id":"","url":"https://api.github.com/users/itho","html_url":"https://github.com/itho","followers_url":"https://api.github.com/users/itho/followers","following_url":"https://api.github.com/users/itho/following{/other_user}","gists_url":"https://api.github.com/users/itho/gists{/gist_id}","starred_url":"https://api.github.com/users/itho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itho/subscriptions","organizations_url":"https://api.github.com/users/itho/orgs","repos_url":"https://api.github.com/users/itho/repos","events_url":"https://api.github.com/users/itho/events{/privacy}","received_events_url":"https://api.github.com/users/itho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-14T09:18:08Z","updated_at":"2018-03-14T09:18:08Z","closed_at":null,"author_association":"OWNER","body":"**Current behavior:**\r\nThe icons are not showing and the sparklines aren't up to date.\r\n\r\n**Related code:**\r\n<!-- If you are able to illustrate the bug or feature request with an example-->\r\n\r\n```javascript\r\nsparkline: {\r\n    base_url: 'https://s2.coinmarketcap.com/generated/sparklines/',\r\n    ...\r\n}\r\n...\r\ngetCryptoIcon (id) {\r\n  return (this.sparkline.id[id] !== undefined)\r\n    ? 'https://s2.coinmarketcap.com/static/img/coins/128x128/' + this.sparkline.id[id] + '.png'\r\n    : ''\r\n}\r\n```\r\n\r\n**Other information:**\r\nUpdated coinmarketcap ids.\r\n\r\n```\r\nid: {\r\n  '0x': '1896',\r\n  'aelf': '2299',\r\n  'aeternity': '1700',\r\n  'aion': '2062',\r\n  'ardor': '1320',\r\n  'ark': '1586',\r\n  'augur': '1104',\r\n  'bancor': '1727',\r\n  'basic-attention-token': '1697',\r\n  'binance-coin': '1839',\r\n  'bitcoin': '1',\r\n  'bitcoin-cash': '1831',\r\n  'bitcoin-gold': '2083',\r\n  'bitconnect': '1513',\r\n  'bitcore': '1654',\r\n  'bitshares': '463',\r\n  'blocknet': '707',\r\n  'byteball': '1492',\r\n  'bytecoin-bcn': '372',\r\n  'bytom': '1866',\r\n  'cardano': '2010',\r\n  'chainlink': '1975',\r\n  'civic': '1816',\r\n  'cryptonex': '2027',\r\n  'dash': '131',\r\n  'decred': '1168',\r\n  'dent': '1886',\r\n  'dentacoin': '1876',\r\n  'digibyte': '109',\r\n  'digitalnote': '405',\r\n  'digixdao': '1229',\r\n  'dogecoin': '74',\r\n  'dragonchain': '2243',\r\n  'electroneum': '2137',\r\n  'emercoin': '558',\r\n  'enigma-project': '2044',\r\n  'eos': '1765',\r\n  'ethereum': '1027',\r\n  'ethereum-classic': '1321',\r\n  'ethos': '1817',\r\n  'experience-points': '1367',\r\n  'factom': '1087',\r\n  'funfair': '1757',\r\n  'gamecredits': '576',\r\n  'gas': '1785',\r\n  'gnosis-gno': '1659',\r\n  'golem-network-tokens': '1455',\r\n  'gxchain': '1750',\r\n  'gxshares': '1750',\r\n  'hshare': '1903',\r\n  'icon': '2099',\r\n  'iconomi': '1408',\r\n  'iostoken': '2405',\r\n  'iota': '1720',\r\n  'kin': '1993',\r\n  'komodo': '1521',\r\n  'kucoin-shares': '2087',\r\n  'kyber-network': '1982',\r\n  'lisk': '1214',\r\n  'litecoin': '2',\r\n  'loopring': '1934',\r\n  'maidsafecoin': '291',\r\n  'maker': '1518',\r\n  'medibloc': '2303',\r\n  'monacoin': '213',\r\n  'monero': '328',\r\n  'nano': '1567',\r\n  'neblio': '1955',\r\n  'nebulas-token': '1908',\r\n  'nem': '873',\r\n  'neo': '1376',\r\n  'nexus': '789',\r\n  'nxt': '66',\r\n  'omisego': '1808',\r\n  'particl': '1826',\r\n  'pivx': '1169',\r\n  'polymath-network': '2496',\r\n  'populous': '1789',\r\n  'power-ledger': '2132',\r\n  'qash': '2213',\r\n  'qtum': '1684',\r\n  'quantstamp': '2212',\r\n  'rchain': '2021',\r\n  'reddcoin': '118',\r\n  'request-network': '2071',\r\n  'revain': '2135',\r\n  'ripple': '52',\r\n  'salt': '1996',\r\n  'siacoin': '1042',\r\n  'singularitynet': '2424',\r\n  'sirin-labs-token': '2313',\r\n  'smartcash': '1828',\r\n  'status': '1759',\r\n  'steem': '1230',\r\n  'stellar': '512',\r\n  'storj': '1772',\r\n  'stratis': '1343',\r\n  'substratum': '1984',\r\n  'syscoin': '541',\r\n  'tenx': '1758',\r\n  'tether': '825',\r\n  'tron': '1958',\r\n  'vechain': '1904',\r\n  'verge': '693',\r\n  'veritaseum': '1710',\r\n  'walton': '1925',\r\n  'waltonchain': '1925',\r\n  'waves': '1274',\r\n  'wax': '2300',\r\n  'zcash': '1437',\r\n  'zclassic': '1447',\r\n  'zcoin': '1414',\r\n  'zilliqa': '2469'\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"itho"}}