Skip to contents

API profiles

Describe an endpoint with its authentication and pagination.

af_api()
Describe an API endpoint
af_auth_raw() af_auth_bearer() af_auth_header() af_auth_query()
Authentication strategies
af_paginate_offset() af_paginate_none()
Pagination strategies

Fetching data

af_fetch()
Fetch a single page from an API
af_fetch_all()
Fetch all data from an API in chunks

Token management

af_store_token()
Store an API token in an environment variable
af_get_token()
Retrieve a stored API token
af_remove_token()
Remove a stored API token
af_list_tokens()
List stored API tokens

Utilities

parse_queries()
Build a URL with query parameters