A library for Facilitates fetching data from a paginated JSON API.
Build a GET request.
Build a POST request.
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
}Send a Request.
Convert a Request into a Task.
This is only really useful if you want to chain together a bunch of requests (or any other tasks) in a single command.
Encapsulates an API request for a list of items of type
a.