bstoilov / py3-pinterest

Fully fledged Python Pinterest client
MIT License
293 stars 104 forks source link

get_board_sections only returns default 25 sections #187

Open Naomarius opened 1 year ago

Naomarius commented 1 year ago

I recommend just changing it to take a page_size value than 25.

I might be an outlyer having a board with 50 sections.

Pinterest default is 25 for this api call with a limit of 100.

Probably be good idea to setup the same paging method for sections that pins have. So you keep calling this to get all the sections beyond the default or max page limit.

I managed to debug the master branch and add "page_size": 100 to the options and confirm it works.