Order statistics tool for Yemeksepeti. Orders history data are collected from DOM elements since Yemeksepeti doesn't have a public API. There is a way to listen to outgoing POST network calls to /Account/GetOrderHistory
and access the data, which is triggered on scroll, but there's no way to run the code and catch the first request(well, this can be done with a browser extension, but I find that kind of usage to be inconvenient, for the time being at least).
One little drawback is that this only works for order history that are more than 3 pages, which are about 60 orders. This has to do with a bug Yemeksepeti API has which always returns false
for HasNextPage
property in the fourth call.
To get your order history (overview image and json file will be downloaded):
- Copy the code
- Go to Yemeksepeti Order History page
- Open the console with F12
- Paste the code and press Enter