LocalBitcoins API我正在使用'Documentation Link'
路由为:'/bitcoincharts/{currency}/trades.json'
这是为您提供500个数据项的途径
https://localbitcoins.com/bitcoincharts/USD/trades.json
我想通过添加“可选参数max_tid”来获得500多个数据项
如何在GET请求中添加此参数?
答案 0 :(得分:1)
您不能获得超过500个数据项。您只能获取较旧的数据项。例如:
您可以获得最新的500件商品的答案。最新商品的报价为4000。如果您发送带有'max_rid':4000的新请求,您将获得旧数据商品的响应。
params = {'max_tid': 41719737}
value = conn_no.call('GET', '/bitcoincharts/uah/trades.json' , params = params).json()