def listcoins(self):
url = self.API_PATH + '<STR_LIT>'<EOL>json_data = json.loads(self._getdata(url))<EOL>coins = []<EOL>for entry in json_data:<EOL><INDENT>coin = Coin()<EOL>coin.id = entry['<STR_LIT:id>']<EOL>coin.name = entry['<STR_LIT:name>']<EOL>coin.website = entry['<STR_LIT>']<EOL>coin.price_btc = entry['<STR_LIT>']<EOL>coin.volume_btc = entry['<STR_LIT>']<EOL>coins.append(coin)<EOL><DEDENT>return coins<EOL>
Use this function to list all coins with their data which are available on cryptocoincharts.
Usage: http://api.cryptocoincharts.info/listCoins