Description Usage Arguments Value References
View source: R/shopr_make_requests.R
Generic helper method for making API requests that return paginated results using cursor-based pagination
1 2 3 4 5 6 7 8 9 | shopr_make_requests(
requestURL,
params,
pagesN,
maxPages = Inf,
APIKey,
APIPassword,
verbose = FALSE
)
|
requestURL |
e.g. https://abc.myshopify.com/admin/api/2020-01/orders.json?limit=250&since_id=0 |
params |
list of request parameters that must include 'limit' |
pagesN |
expected number of pages to be returned (used for printing progress and initializing response list) |
maxPages |
maximum number of pages to return (default = |
APIKey |
API key |
APIPassword |
API password |
verbose |
should progress messages be printed? (default = |
list of http responses
https://help.shopify.com/en/api/guides/paginated-rest-results
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.