Category Archives: Api

Collect shopee data automatically

Background: – Shopee uses javascript to get data as json from server – Shopee server only provides data for request with “User-agent”, “X-Requested-With”, “Referer”. Requests without these will get empty result. Required tool: – Using devtool to find url of json – python to run js request. Ref: https://stackoverflow.com/questions/59557071/how-can-i-crawl-the-product-items-from-shopee-website

Callback url là gì? Shopee webhook và API

Shopee API order detail

I. Callback URL là gì: Khi sử dụng Shopee api hoặc các api khác, các api đều yêu cầu bạn điền thông số callback url. Vậy callback url là gì?Hãy theo dõi ví dụ sau: POST /api.example.com/foo?callbackURL=http://my.server.com/bar Trong ví dụ trên, chúng ta gửi 1 request đến api.example.com/foo và yêu cầu sau khi hoàn thành […]