答案 0 :(得分:1)
您的总分页网址取决于API。另外,您可以尝试分块调用API并检查更多内容。其他API的示例:
SUB getOnePage(vOffset)
LIB CONNECT TO [outreach_api];
RestConnectorMasterTable:
SQL SELECT
(...)
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION (Url "https://api.outreach.io/api/v2/prospects?page[limit]=100&page[offset]=$(vOffset)");
LET vHasMore = Peek('has-more',-1);
/* you need to find parametr which detects more rows or alternatively
count returned number of records is more than 0 */
LET vNext = Peek('next',-1);
DROP Table root;
IF vHasMore = 'True' then
CALL getOnePage($(vNext));
EndIf
EndSub
CALL getOnePage(0)