Ankush11903 / Foodsale

It utilizes Swiggy's live API data to fetch real-time restaurant information, and includes features such as infinite scrolling, shopping cart feature using Redux Toolkit, and UI configuration with conditional rendering and caching for better user experience. Additionally, the app implements Shimmer UI, lazy loading, and dynamic routing .
https://foodsale.vercel.app
24 stars 2 forks source link

offset issue #7

Closed suprajaboga closed 2 months ago

suprajaboga commented 3 months ago

These both urls are giving me same set of data..

https://www.swiggy.com/dapi/restaurants/list/v5?lat=28.6126255&lng=77.04108959999999&offset=1&sortBy=RELEVANCE&pageType=SEE_ALL&page_type=DESKTOP_SEE_ALL_LISTING

https://www.swiggy.com/dapi/restaurants/list/v5?lat=28.6126255&lng=77.04108959999999&offset=2&sortBy=RELEVANCE&pageType=SEE_ALL&page_type=DESKTOP_SEE_ALL_LISTING

I changed the value of offset only, but both urls are giving me same restaurants. Is there anything I need to change @Ankush11903 ?

Ankush11903 commented 2 months ago

Change lat and lng values