psolymos / clickrup

Interacting with the ClickUp v2 API from R
https://peter.solymos.org/clickrup/
MIT License
18 stars 3 forks source link

New .cu_get_page(), .cu_get() supports paging #12

Closed krlmlr closed 2 years ago

krlmlr commented 2 years ago

According to the docs, we should check if 100 items are reached and then query the next page. Need to test what happens with a list that contains exactly 100 items. Chances are good that it just works -- I accidentally testsd fetching after the maximum page (off-by-one error) and the code worked as expected.

psolymos commented 2 years ago

Thank you @krlmlr this looks good!