CensysEx.Paginate (censys_ex v1.1.0) View Source
CensysEx.Paginate implements a wrapper for cursor paginated APIs
Link to this section Summary
Types
function that takes in a keyword list of query params and returns either a map of results or an error
function that takes in the internal results of paginated API calls, returning a [any]
struct to maintain the state of a paginated api call
Link to this section Types
Specs
function that takes in a keyword list of query params and returns either a map of results or an error
Specs
function that takes in the internal results of paginated API calls, returning a [any]
Specs
t() :: %CensysEx.Paginate{ cursor: String.t(), next_fn: next_page_fn(), page: integer(), params: Keyword.t(), results: map(), results_fn: result_extractor() }
struct to maintain the state of a paginated api call