Package: apifetch 0.1.0

André Leite
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.
Authors:
apifetch_0.1.0.tar.gz
apifetch_0.1.0.tar.gz(r-4.7-any)apifetch_0.1.0.tar.gz(r-4.6-any)
apifetch_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
apifetch/json (API)
| # Install 'apifetch' in R: |
| install.packages('apifetch', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/strategicprojects/apifetch/issues
Pkgdown/docs site:https://strategicprojects.github.io
Last updated from:3a74d006c3. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 101 | ||
| source / vignettes | OK | 158 | ||
| linux-release-x86_64 | OK | 125 | ||
| wasm-release | OK | 117 |
Exports:af_apiaf_auth_beareraf_auth_headeraf_auth_queryaf_auth_rawaf_fetchaf_fetch_allaf_get_tokenaf_list_tokensaf_paginate_noneaf_paginate_offsetaf_remove_tokenaf_store_tokenparse_queries
Dependencies:askpassclicurldplyrgenericsgluehttr2lifecyclemagrittropensslpillarpkgconfigR6rappdirsrlangsystibbletidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Describe an API endpoint | af_api |
| Authentication strategies | af_auth af_auth_bearer af_auth_header af_auth_query af_auth_raw |
| Fetch a single page from an API | af_fetch |
| Fetch all data from an API in chunks | af_fetch_all |
| Retrieve a stored API token | af_get_token |
| List stored API tokens | af_list_tokens |
| Pagination strategies | af_paginate af_paginate_none af_paginate_offset |
| Remove a stored API token | af_remove_token |
| Store an API token in an environment variable | af_store_token |
| Build a URL with query parameters | parse_queries |