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