A library for Facilitates fetching data from a paginated JSON API.
Describes an API request.
Create a custom request, allowing the specification of HTTP headers and other options. For example:
Paginated.request
{ method = "GET"
, headers = [ Http.header "Private-Token" "XXXXXXXXXXXXXXXX" ]
, url = url
, body = Http.emptyBody
, decoder = decoder
, timeout = Nothing
, withCredentials = False
}
Encapsulates an API request for a list of items of type
a.