Skip to content

Releases: StrategicProjects/apifetch

Release list

apifetch 0.1.0

Choose a tag to compare

@milkway milkway released this 02 Jul 22:49

Initial CRAN release — accepted 2026-07-02.

A generic, dependency-light toolkit for token-authenticated REST APIs, generalising the engine first developed in the BigDataPE package.

Highlights

  • Token management in process environment variables (never written to disk), namespaced per service: af_store_token(), af_get_token(), af_remove_token(), af_list_tokens().
  • API profiles via af_api(), with pluggable authentication strategies (af_auth_raw(), af_auth_bearer(), af_auth_header(), af_auth_query()) and pagination strategies (af_paginate_offset(), af_paginate_none()).
  • Data retrieval with af_fetch() (single page) and af_fetch_all() (chunked, combined into one tibble), built on httr2.
  • All user-facing output through cli; includes a vignette showing the Big Data PE platform as a worked use case.

Install

install.packages("apifetch")

📦 CRAN: https://CRAN.R-project.org/package=apifetch
🐍 Python sibling: https://pypi.org/project/apifetch/