apifetch: Token-Authenticated REST API Retrieval Toolkit
A small, dependency-light toolkit for talking to token-authenticated
REST APIs. It manages authentication tokens in process environment variables
(never written to disk), builds requests with configurable authentication and
pagination strategies, and retrieves paginated data either one page at a time
or in chunks combined into a single tibble. The design is API-agnostic: a
single 'apifetch_api' profile describes an endpoint together with how it
authenticates and paginates, so the same verbs work across different services.
| Version: |
0.1.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
cli, dplyr, httr2, stats, tibble, utils |
| Suggests: |
knitr, rmarkdown, testthat (≥ 3.0.0) |
| Published: |
2026-07-02 |
| DOI: |
10.32614/CRAN.package.apifetch (may not be active yet) |
| Author: |
André Leite [aut, cre],
Hugo Vasconcelos [aut],
Diogo Bezerra [aut],
Marcos Wasilew [aut],
Carlos Amorin [aut] |
| Maintainer: |
André Leite <leite at castlab.org> |
| BugReports: |
https://github.com/StrategicProjects/apifetch/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/StrategicProjects/apifetch,
https://strategicprojects.github.io/apifetch/ |
| NeedsCompilation: |
no |
| Materials: |
README, NEWS |
| CRAN checks: |
apifetch results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=apifetch
to link to this page.