Exact.Page (exact_online v0.1.0)

Copy Markdown View Source

One page of an Exact Online collection.

Exact Online pages with a $skiptoken cursor rather than offsets. :next holds the absolute URL of the following page, or nil on the last page. Exact.Client.stream/3 follows it for you.

Summary

Functions

Builds a page from a decoded response.

Types

t()

@type t() :: %Exact.Page{
  count: integer() | nil,
  next: String.t() | nil,
  rate_limit: Exact.RateLimit.t() | nil,
  results: [map()]
}

Functions

from_response(response)

@spec from_response(Req.Response.t()) :: t()

Builds a page from a decoded response.