示例#1
0
def scrapeCoinList():
    """Scrape coin list."""
    html = coinmarketcap.requestList('coins', 'all')
    data = coinmarketcap.parseList(html, 'currencies')
    return data
示例#2
0
def scrapeTokenList():
    """Scrape token list."""
    html = coinmarketcap.requestList('tokens', 'all')
    data = coinmarketcap.parseList(html, 'assets')
    return data
示例#3
0
def scrapeAssetList():
    """Scrape asset list."""
    html = coinmarketcap.requestList('assets', 'all')
    data = coinmarketcap.parseList(html, 'assets')
    return data