文件名称:decred-price:使用Python获取确定的价格
文件大小:1KB
文件格式:ZIP
更新时间:2024-04-16 01:16:44
Python
决定的价格 在Python 获得确定的价格。 参见 import requests import json from forex_python . converter import CurrencyRates import os c = CurrencyRates () rate = c . get_rate ( 'USD' , 'EUR' ) print ( rate ) decred_api_url = 'https://api.coinmarketcap.com/v1/ticker/decred/' response = requests . get ( decred_api_url ) response_json = response . json () print ( response_json ) for coin in response . json (): pr
【文件预览】:
decred-price-master
----example.py(604B)
----_config.yml(26B)
----README.md(910B)