Get the next, previous, first or last page of results

gh_next(gh_response)

gh_prev(gh_response)

gh_first(gh_response)

gh_last(gh_response)

## Arguments

gh_response An object returned by a gh() call.

## Details

Note that these are not always defined. E.g. if the first page was queried (the default), then there are no first and previous pages defined. If there is no next page, then there is no next page defined, etc.

If the requested page does not exist, an error is thrown.

The .limit argument to gh() supports fetching more than one page.

## Examples

x <- gh("/users")
#> [26] "tmornini"    "outerim"     "daksis"      "sr"          "lifo"