django - Pinterest API board paging -
can (educated) guess how paging works unreleased pinterest api ?
for example, link: https://api.pinterest.com/v3/pidgets/boards/grainedit/cars/pins/ returns first 50 pins of specific board. contains 101 pins. how retrieve page 2 , 3 ?
since api not public, can't maybe happens know or can guess.
thanks
edit:
i've tried:
https://api.pinterest.com/v3/pidgets/boards/grainedit/cars/pins/page/2/ https://api.pinterest.com/v3/pidgets/boards/grainedit/cars/pins/?page=2 https://api.pinterest.com/v3/pidgets/boards/grainedit/cars/pins/?p=2 https://api.pinterest.com/v3/pidgets/boards/grainedit/cars/pins/?offset=2
pinterest based on django uses rest framework. ideas?
even if using framework (like drf) have million ways set query structure. if wanted reverse-engineer non-published api still open either use wireshark or fiddler2. start using website , see sort of requests being made, figure out request pattern , build own api against ad-hoc api. option watching network part of chrome developer tools if need general idea.
Comments
Post a Comment