Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Endpoint #2

Open
MadnessOverflow opened this issue Apr 14, 2024 · 2 comments
Open

API Endpoint #2

MadnessOverflow opened this issue Apr 14, 2024 · 2 comments

Comments

@MadnessOverflow
Copy link

Hey!
Nice Github project. I'm trying to fetch REWE Products for personal purposes as well but the problem is the endpoint i was using was recently closed.
Which API Endpoint are you using for your project?

Best Regards!

@byayex
Copy link

byayex commented Apr 24, 2024

You can try to reverse engineer the rewe online shop api.

After looking at it for 1 minute i found that the suggestion function alone gives some good data.

If you dig a little deeper i am sure you will find some better endpoints.

https://shop.rewe.de/api/suggestions?q=searchValue

@byayex
Copy link

byayex commented Apr 25, 2024

@MadnessOverflow

I just found something that may help you. Just go on the category of products you want and send the following in the url.

?objectsPerPage=250

250 seems to be the max, but then you can just use any html parser (beautifulsoup for example) and get 250 products in one run, then just increase the page and do it again. It think this should be the best method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants