Hello I am making price statistics project with python and I have problem scrapping data from api. API : https://www.rolimons.com/api/activity I want to get prices (last 2 values from one block) example from [[1588247532,0,"1028606",464,465] I would need 464 and 465 only , also I want to do that for all table. I have no Idea how could I do that.
import requests
import json
r = requests.get('https://www.rolimons.com/api/activity')
content = json.loads(r.content.decode())
for key, value in content.items():
print(key)
Aucun commentaire:
Enregistrer un commentaire