samedi 28 août 2021

Fetch an request in Python (OpenGraph)

I want to fetch the following array to get the first item price. https://opensea.io/assets/neon-district-season-one-item?search[query]=mimir%20assault&search[sortAscending]=true&search[sortBy]=PRICE&search[stringTraits][0][name]=Armor%20Slot&search[stringTraits][0][values][0]=Body&search[stringTraits][1][name]=rarity&search[stringTraits][1][values][0]=Common

I have tried to Insepect the code and get the API request, export it to Postman and get the code on Python. However, it is not working. I continued investigating the request and it is not a normal http request (API REST), it contains some application structure (OpenGraph) which I never lead with that. I am doing several tests changing the input parameters but i am a bit struggled there.

Somecan can lead me? Thank you.




Aucun commentaire:

Enregistrer un commentaire