check_last: check last respone

View source: R/Check_last.R

check_lastR Documentation

check last respone

Description

Check if the API response is the last for a given API Pull.

Usage

check_last(pull_response)

Arguments

pull_response

an api response in list form after response_to_list call

Value

True of False if a next link exists

Examples

#NOT RUN check_last(response_to_list(GET("https://app.communityconnectlabs.com/api/v2/contacts_report.json")))

kianwazzu/cclapi documentation built on May 31, 2024, 12:30 p.m.