get_multiple_pages: Process multi page responses from an API call.

Description Usage Arguments Value

View source: R/multiple_pages.R

Description

Process multi page responses from an API call.

Usage

1
get_multiple_pages(number_of_pages, api_response)

Arguments

number_of_pages

an integer. The total number of pages returned by the current API call.

api_response

a response object created by GET. More specifically it is the respones from the original API call which returned multiple result pages.

Value

returns a named list with a length equal to the number of pages in the response. Each item in the list is a response object created by GET.


warlicks/beeR documentation built on May 28, 2019, 7:53 a.m.