{
  "_id": "6a46d65c6527f6f71f9f4fde",
  "Package": "apifetch",
  "Type": "Package",
  "Title": "Token-Authenticated REST API Retrieval Toolkit",
  "Version": "0.1.0",
  "Date": "2026-06-26",
  "Authors@R": "c(\nperson(\"André\", \"Leite\", email = \"leite@castlab.org\", role = c(\"aut\", \"cre\")),\nperson(\"Hugo\", \"Vasconcelos\", email = \"hugo.vasconcelos@ufpe.br\", role = \"aut\"),\nperson(\"Diogo\", \"Bezerra\", email = \"diogo.bezerra@ufpe.br\", role = \"aut\"),\nperson(\"Marcos\", \"Wasilew\", email = \"marcos.wasilew@gmail.com\", role = \"aut\"),\nperson(\"Carlos\", \"Amorin\", email = \"carlos.agaf@ufpe.br\", role = \"aut\"))",
  "Description": "A small, dependency-light toolkit for talking to\ntoken-authenticated REST APIs. It manages authentication tokens\nin process environment variables (never written to disk),\nbuilds requests with configurable authentication and pagination\nstrategies, and retrieves paginated data either one page at a\ntime or in chunks combined into a single tibble. The design is\nAPI-agnostic: a single 'apifetch_api' profile describes an\nendpoint together with how it authenticates and paginates, so\nthe same verbs work across different services.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/StrategicProjects/apifetch,\nhttps://strategicprojects.github.io/apifetch/",
  "BugReports": "https://github.com/StrategicProjects/apifetch/issues",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 21:18:55 UTC",
    "User": "root"
  },
  "Author": "André Leite [aut, cre], Hugo Vasconcelos [aut], Diogo Bezerra\n[aut], Marcos Wasilew [aut], Carlos Amorin [aut]",
  "Maintainer": "André Leite <leite@castlab.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 18:40:19 UTC",
  "RemoteUrl": "https://github.com/cran/apifetch",
  "RemoteRef": "HEAD",
  "RemoteSha": "3a74d006c3b0242bc1c9acdf33af27191e4af08f",
  "_user": "cran",
  "_type": "src",
  "_file": "apifetch_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f3bb520fd1e3f30e8808ca49ba0016c4c251de3e1f568e1549ccafb2b63aecf3",
  "_filesize": 146882,
  "_sha256": "f3bb520fd1e3f30e8808ca49ba0016c4c251de3e1f568e1549ccafb2b63aecf3",
  "_expires": "2026-10-10T21:21:32.000Z",
  "_created": "2026-07-02T21:18:55.000Z",
  "_published": "2026-07-02T21:21:32.947Z",
  "_jobs": [
    {
      "job": 84880541709,
      "time": 101,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8051891178"
    },
    {
      "job": 84880541698,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051898678"
    },
    {
      "job": 84880095310,
      "time": 158,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8051858996"
    },
    {
      "job": 84880541689,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8051896100"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28622085794",
  "_status": "success",
  "_upstream": "https://github.com/cran/apifetch",
  "_commit": {
    "id": "3a74d006c3b0242bc1c9acdf33af27191e4af08f",
    "author": "André Leite <leite@castlab.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1783017619
  },
  "_maintainer": {
    "name": "André Leite",
    "email": "leite@castlab.org"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/apifetch"
  },
  "_devurl": "https://github.com/strategicprojects/apifetch",
  "_pkgdown": "https://strategicprojects.github.io/apifetch/",
  "_searchresults": 1,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/apifetch.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "af_api",
    "af_auth_bearer",
    "af_auth_header",
    "af_auth_query",
    "af_auth_raw",
    "af_fetch",
    "af_fetch_all",
    "af_get_token",
    "af_list_tokens",
    "af_paginate_none",
    "af_paginate_offset",
    "af_remove_token",
    "af_store_token",
    "parse_queries"
  ],
  "_help": [
    {
      "page": "af_api",
      "title": "Describe an API endpoint",
      "topics": [
        "af_api"
      ]
    },
    {
      "page": "af_auth",
      "title": "Authentication strategies",
      "topics": [
        "af_auth",
        "af_auth_bearer",
        "af_auth_header",
        "af_auth_query",
        "af_auth_raw"
      ]
    },
    {
      "page": "af_fetch",
      "title": "Fetch a single page from an API",
      "topics": [
        "af_fetch"
      ]
    },
    {
      "page": "af_fetch_all",
      "title": "Fetch all data from an API in chunks",
      "topics": [
        "af_fetch_all"
      ]
    },
    {
      "page": "af_get_token",
      "title": "Retrieve a stored API token",
      "topics": [
        "af_get_token"
      ]
    },
    {
      "page": "af_list_tokens",
      "title": "List stored API tokens",
      "topics": [
        "af_list_tokens"
      ]
    },
    {
      "page": "af_paginate",
      "title": "Pagination strategies",
      "topics": [
        "af_paginate",
        "af_paginate_none",
        "af_paginate_offset"
      ]
    },
    {
      "page": "af_remove_token",
      "title": "Remove a stored API token",
      "topics": [
        "af_remove_token"
      ]
    },
    {
      "page": "af_store_token",
      "title": "Store an API token in an environment variable",
      "topics": [
        "af_store_token"
      ]
    },
    {
      "page": "parse_queries",
      "title": "Build a URL with query parameters",
      "topics": [
        "parse_queries"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/apifetch/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/apifetch/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "rappdirs",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "bigdatape.Rmd",
      "filename": "bigdatape.html",
      "title": "Use case: the Big Data PE API",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is specific about Big Data PE",
        "Defining the profile",
        "Storing a token and fetching",
        "Note on language"
      ],
      "created": "2026-07-02 18:40:19",
      "modified": "2026-07-02 18:40:19",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "apifetch",
  "_universes": [
    "cran",
    "strategicprojects"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:20:43.000Z",
      "distro": "resolute",
      "commit": "3a74d006c3b0242bc1c9acdf33af27191e4af08f",
      "fileid": "https://r2.ropensci.org/5d9fc7f8a851a1c7d189e22c611f7c4899c2e6e4957374b3288003caf038a459",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622085794"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-02T21:21:00.000Z",
      "distro": "resolute",
      "commit": "3a74d006c3b0242bc1c9acdf33af27191e4af08f",
      "fileid": "https://r2.ropensci.org/525f71d8d8a8e94017416c8823c6de5bbaae524c448495a7eaf0e89d9b887e80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622085794"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-02T21:21:04.000Z",
      "commit": "3a74d006c3b0242bc1c9acdf33af27191e4af08f",
      "fileid": "https://r2.ropensci.org/44eed4b924f623941386a67e0ab9870bf2ef9afc1adc73522445b6c025f854c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622085794"
    }
  ]
}