Exemple #1
0
def ven():
    resource = 'https://etherscan.io/token/0xd850942ef8811f2a866692a623011bde52a462c1#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('VeChain', 'VEN', market_cap, current, resource)
    list_json.append(dict_)
Exemple #2
0
def plr():
    resource = 'https://etherscan.io/token/0xe3818504c1b32bf1557b16c238b2e01fd3149c17#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Pillar', 'PLR', market_cap, current, resource)
    list_json.append(dict_)
Exemple #3
0
def snt():
    resource = 'https://etherscan.io/token/StatusNetwork#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Status', 'SNT', market_cap, current, resource)
    list_json.append(dict_)
Exemple #4
0
def eng():
    resource = 'https://etherscan.io/token/0xf0ee6b27b759c9893ce4f094b49ad28fd15a23e4#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Enigma', 'ENG', market_cap, current, resource)
    list_json.append(dict_)
Exemple #5
0
def mkr():
    resource = 'https://etherscan.io/token/Maker#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Maker', 'MKR', market_cap, current, resource)
    list_json.append(dict_)
Exemple #6
0
def btm():
    resource = 'https://etherscan.io/token/0xcb97e65f07da24d46bcdd078ebebd7c6e6e3d750#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Bytom', 'BTM', market_cap, current, resource)
    list_json.append(dict_)
Exemple #7
0
def ae():
    resource = 'https://etherscan.io/token/0x5ca9a71b1d01849c0a95490cc00559717fcf0d1d'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Aeternity', 'AE', market_cap, current, resource)
    list_json.append(dict_)
Exemple #8
0
def rhoc():
    resource = 'https://etherscan.io/token/0x168296bb09e24a88805cb9c33356536b980d3fc5#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('RChain', 'RHOC', market_cap, current, resource)
    list_json.append(dict_)
Exemple #9
0
def srn():
    resource = 'https://etherscan.io/token/0x68d57c9a1c35f63e2c83ee8e49a64e9d70528d25#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('SIRILabsToken', 'SRN', market_cap, current,
                             resource)
    list_json.append(dict_)
Exemple #10
0
def req():
    resource = 'https://etherscan.io/token/0x8f8221afbb33998d8584a2b05749ba73c37a938a#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('RequestNetwork', 'REQ', market_cap, current,
                             resource)
    list_json.append(dict_)
Exemple #11
0
def gvt():
    resource = 'https://etherscan.io/token/0x103c3a209da59d3e7c4a89307e66521e081cfdf0#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('GenesisVision', 'GVT', market_cap, current,
                             resource)
    list_json.append(dict_)
Exemple #12
0
def cnd():
    resource = 'https://etherscan.io/token/0xd4c435f5b09f855c3317c8524cb1f586e42795fa#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Cindicator', 'CND', market_cap, current,
                             resource)
    list_json.append(dict_)
Exemple #13
0
def wtc():
    resource = 'https://etherscan.io/token/0xb7cb1c96db6b22b0d3d9536e0108d062bd488f74#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Waltonchain', 'WTC', market_cap, current,
                             resource)
    list_json.append(dict_)
def xby():
    resource = 'https://ethplorer.io/address/0x3833dda0aeb6947b98ce454d89366cba8cc55528'
    try:
        soup = extract_with_se(resource, 2)
        market_cap = None
        current = soup.find_all('span', class_="total-supply-usd")[0].text.split('\xa0')[1]
        dict_ = insert_into_list('XTRABYTES', 'XBY', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def  poa():
    resource = 'https://poaexplorer.com/'
    try:
        soup = extract_with_bs(resource)
        market_cap = soup.find_all('span')[7].text[1:]
        current = soup.find_all('span')[4].text
        dict_ = insert_into_list('POANetwork', 'POA', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def xas():
    resource = 'https://explorer.asch.io/index.html'
    try:
        soup = extract_with_se(resource, 2)
        market_cap = soup.find('span', class_='shizhiNumber').text
        current = None
        dict_ = insert_into_list('Asch', 'XAS', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
Exemple #17
0
def dash():
    try:
        resource = 'https://www.dash.org/network/#section-exchanges'
        soup = extract_with_se(resource, 2)
        current = None
        market_cap = soup.find(id='marketcap_count').text
        dict_ = insert_into_list('Dash', 'DASH', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
Exemple #18
0
def xzc():
    try:
        resource = 'https://explorer.zcoin.io/'
        soup = extract_with_se(resource, 2)
        current = soup.find_all('label', id='supply')[0].text
        market_cap = None
        dict_ = insert_into_list('Zcoin', 'XZC', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def smt():
    resource = 'https://etherscan.io/token/0x55f93985431fc9304077687a35a1ba103dc1e081#tokenInfo'
    try:
        soup = extract_with_bs(resource)
        market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
        current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
        dict_ = insert_into_list('SmartMesh', 'SMT', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def enj():
    resource = 'https://enjincoin.io/#market'
    try:
        soup = extract_with_se(resource, 2)
        market_cap = soup.find('span', class_='marketcap-usd').text[1:]
        current = soup.find('span', class_='circulating-supply').text
        dict_ = insert_into_list('EnjinCoin', 'ENJ', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def ubq():
    resource = 'https://ubiqscan.io/assets/'
    try:
        soup = extract_with_se(resource, 3)
        current = soup.find('td', id='ubiqAvailableSupply').text
        market_cap = soup.find('td', id='ubiqMarketcap').text.split('$')[1]
        dict_ = insert_into_list('Ubiq', 'UBQ', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def game():
    resource = 'https://blockexplorer.gamecredits.com/home'
    try:
        soup = extract_with_se(resource, 2)
        divs = soup.find_all('div', class_='block-value dark-color')
        current = divs[5].text
        market_cap = None
        dict_ = insert_into_list('GameCredits', 'GAME', market_cap, current, resource)
        list_json.append(dict_)
    except:
        pass
def utk():
    resource = 'https://etherscan.io/token/0x70a72833d6bf7f508c8224ce59ea1ef3d0ea3a38#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Utrust',
                             'UTK',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def mgo():
    resource = 'https://etherscan.io/token/0x40395044Ac3c0C57051906dA938B54BD6557F212#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('MobileGo',
                             'MGO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def ins():
    resource = 'https://etherscan.io/token/0x5b2e4a700dfbc560061e957edec8f6eeeb74a320#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('INSEcosystem',
                             'INS',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def gto():
    resource = 'https://etherscan.io/token/0xc5bbae50781be1669306b9e001eff57a2957b09d#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Gifto',
                             'DTO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def itc():
    resource = 'https://etherscan.io/token/0x5e6b6d9abad9093fdc861ea1600eba1b355cd940#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[0].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[0].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('IoT',
                             'ITC',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def storm():
    resource = 'https://etherscan.io/token/0xd0a4b8946cb52f0661273bfbc6fd0e0c75fc6433'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Storm',
                             'STORM',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def appc():
    resource = 'https://etherscan.io/token/0x1a7a8bd9106f2b8d977e08582dc7d24c723ab0db#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('AppCoins',
                             'APPC',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)
def edo():
    resource = 'https://etherscan.io/token/0xced4e93198734ddaff8492d525bd258d49eb388e#tokenInfo'
    soup = extract_with_bs(resource)
    market_cap = soup.find_all('tbody')[1].find_all('td')[5].text.split('$')[1]
    current = soup.find_all('tbody')[1].find_all('td')[8].text.split(' ')[0]
    dict_ = insert_into_list('Eidoo',
                             'EDO',
                             market_cap,
                             current,
                             resource)
    list_json.append(dict_)