Package: apifetch Type: Package Title: Token-Authenticated REST API Retrieval Toolkit Version: 0.2.0 Date: 2026-09-28 Authors@R: c( person("André", "Leite", email = "leite@castlab.org", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4718-9766")), person("Hugo", "Vasconcelos", email = "hugo.vasconcelos@ufpe.br", role = "aut", comment = c(ORCID = "0000-0001-6249-0920")), person("Diogo", "Bezerra", email = "diogo.bezerra@ufpe.br", role = "aut", comment = c(ORCID = "0000-0002-1216-8674")), person("Marcos", "Wasiliew", email = "marcos.wasiliew@gmail.com", role = "aut", comment = c(ORCID = "0009-0004-4694-3159")), person("Carlos", "Amorim", email = "carlos.agaf@ufpe.br", role = "aut", comment = c(ORCID = "0000-0001-6315-8305")), person("Júlia", "Nascimento Barreto", email = "juliabarreto@gd.seplag.pe.gov.br", role = "aut", comment = c(ORCID = "0009-0004-2851-7770"))) Description: 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. License: MIT + file LICENSE Encoding: UTF-8 Roxygen: list(markdown = TRUE) Depends: R (>= 4.1.0) Imports: cli, dplyr, httr2 (>= 1.0.0), stats, tibble, utils Suggests: knitr, rmarkdown, testthat (>= 3.0.0) Config/testthat/edition: 3 VignetteBuilder: knitr URL: https://github.com/StrategicProjects/apifetch, https://strategicprojects.github.io/apifetch/ BugReports: https://github.com/StrategicProjects/apifetch/issues Config/roxygen2/version: 8.0.0 Config/pak/sysreqs: libssl-dev Repository: https://strategicprojects.r-universe.dev Date/Publication: 2026-09-28 20:46:20 UTC RemoteUrl: https://github.com/strategicprojects/apifetch RemoteRef: HEAD RemoteSha: ffa2e20f04159a3c968d81e6971ca37f5f442aea NeedsCompilation: no Packaged: 2026-09-28 22:23:58 UTC; root Author: André Leite [aut, cre] (ORCID: ), Hugo Vasconcelos [aut] (ORCID: ), Diogo Bezerra [aut] (ORCID: ), Marcos Wasiliew [aut] (ORCID: ), Carlos Amorim [aut] (ORCID: ), Júlia Nascimento Barreto [aut] (ORCID: ) Maintainer: André Leite