nixonjoshua98 / dexscreener

Python API wrapper for dexscreener.com
https://docs.dexscreener.com/api/reference
MIT License
91 stars 19 forks source link

Endpoints no longer exist? #1

Closed gouinK closed 2 years ago

gouinK commented 2 years ago

Greetings, it seems like this endpoint does not exist anymore: "https://io6.dexscreener.io/u/trading-history/recent/{network}/{address}"

Is this true or am I doing something wrong? If it is true, do you know of an updated endpoint to accomplish the same task?

Thanks!

nixonjoshua98 commented 2 years ago

Hi,

That endpoint was an 'unofficial' endpoint I had gotten while looking around the site. It looks like it has moved to 'https://io.dexscreener.com/u/trading-history/{network}/{address}' but they have added CloudFare protection so i'm going to unfortunately have to remove it from this package until they support it again .

nixonjoshua98 commented 2 years ago

Looks like they have added protection for the bar chart endpoint as well, so will have to remove that as well.

nixonjoshua98 commented 2 years ago

Update (to remove endpoints) - pip install dexscreener==0.2

gouinK commented 2 years ago

Got it, ok that makes sense. So there are no other endpoints on their site to get transaction histories? I was finding it really hard to extract any useful information from their API documentation (https://docs.dexscreener.com/), so I was really glad when I found your package.

nixonjoshua98 commented 2 years ago

Not yet. Hopefully they add one at some point