druv5319 / Sneaks-API

A StockX, FlightClub, Goat, and Stadium Goods API all in one. This sneaker API allows users to search sneakers and track and compare prices while providing additional info such as product links and images
438 stars 118 forks source link

Pricing Data Not Returned When Hosting NODE JS service #38

Open adamryman90 opened 1 year ago

adamryman90 commented 1 year ago

Hello,

I have a NODEJS restful api web service that I have built in order to call this nodejs library from my custom application. When serving up the web service locally using LocalHost, the nodeJS service works great and brings back all the resellPrices as expected. However, when I deploy NODEJS restful api online for consumption, I get strange results. For example when deploying to AWS, I get no resellPricing at all. And then when deploying to Render, I get flightClub prices but no prices for stockX. As mentioned when running it via LocalHost, all resellPrices are brought back.

Does anyone have any idea why I might be having issues with the deployed hosted version where the Local Version works fine?

anwarulislam commented 1 year ago

Facing the same issue. Only price data not getting attached to the response when I host the application. In localhost, it's working fine

rpxs commented 1 year ago

I'm almost certain that this is due to bot protection. If you use a proxy on your server, it might eliminate this issue. Bot protection on these services probably filters the ISPs that your servers are hosted on. While this library is unmaintained, I'm sure a workaround is available if you use a proxy.