{
  "_id": "6abaefaf99f7aa8c6aa42dd9",
  "Package": "apifetch",
  "Type": "Package",
  "Title": "Token-Authenticated REST API Retrieval Toolkit",
  "Version": "0.2.0",
  "Date": "2026-09-28",
  "Authors@R": "c(\nperson(\"André\", \"Leite\", email = \"leite@castlab.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4718-9766\")),\nperson(\"Hugo\", \"Vasconcelos\", email = \"hugo.vasconcelos@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6249-0920\")),\nperson(\"Diogo\", \"Bezerra\", email = \"diogo.bezerra@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1216-8674\")),\nperson(\"Marcos\", \"Wasiliew\", email = \"marcos.wasiliew@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-4694-3159\")),\nperson(\"Carlos\", \"Amorim\", email = \"carlos.agaf@ufpe.br\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6315-8305\")),\nperson(\"Júlia\", \"Nascimento Barreto\",\nemail = \"juliabarreto@gd.seplag.pe.gov.br\", role = \"aut\",\ncomment = c(ORCID = \"0009-0004-2851-7770\")))",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "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",
  "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": {
    "Date": "2026-09-28 22:23:58 UTC",
    "User": "root"
  },
  "Author": "André Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),\nHugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),\nDiogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),\nMarcos Wasiliew [aut] (ORCID: <https://orcid.org/0009-0004-4694-3159>),\nCarlos Amorim [aut] (ORCID: <https://orcid.org/0000-0001-6315-8305>),\nJúlia Nascimento Barreto [aut] (ORCID:\n<https://orcid.org/0009-0004-2851-7770>)",
  "Maintainer": "André Leite <leite@castlab.org>",
  "_user": "strategicprojects",
  "_type": "src",
  "_file": "apifetch_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5f104a9c64a47c086121f34725588a668d79fd0e4577cb69fd60d3d47f725c24",
  "_filesize": 152741,
  "_sha256": "5f104a9c64a47c086121f34725588a668d79fd0e4577cb69fd60d3d47f725c24",
  "_expires": "2027-01-06T22:52:29.000Z",
  "_created": "2026-09-28T22:23:58.000Z",
  "_published": "2026-09-28T22:52:31.408Z",
  "_jobs": [
    {
      "job": 109163103636,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11002380728"
    },
    {
      "job": 109163103611,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11001691456"
    },
    {
      "job": 109163103641,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11002965731"
    },
    {
      "job": 109163103532,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11002683611"
    },
    {
      "job": 109162087074,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11001746012"
    },
    {
      "job": 109163103622,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11001626614"
    },
    {
      "job": 109163103583,
      "time": 74,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11002135769"
    },
    {
      "job": 109163103574,
      "time": 63,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11002025424"
    },
    {
      "job": 109163103616,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11002710456"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597",
  "_status": "success",
  "_upstream": "https://github.com/strategicprojects/apifetch",
  "_commit": {
    "id": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
    "author": "André Leite <leite@de.ufpe.br>",
    "committer": "André Leite <leite@de.ufpe.br>",
    "message": "Record CRAN submission of 0.2.0\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1790628380
  },
  "_maintainer": {
    "name": "André Leite",
    "email": "leite@castlab.org",
    "orcid": "0000-0002-4718-9766"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.0",
      "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": "strategicprojects",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-26",
      "n": 10
    },
    {
      "week": "2026-27",
      "n": 6
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "milkway",
      "count": 19,
      "uuid": 7375849
    }
  ],
  "_userbio": {
    "uuid": 127886513,
    "type": "organization",
    "name": "Projetos Estratégicos",
    "followers": 14,
    "description": "Repositório de código da Assessoria Especial de Projetos Estratégicos."
  },
  "_downloads": {
    "count": 418,
    "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/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/strategicprojects/apifetch",
  "_realowner": "strategicprojects",
  "_cranurl": true,
  "_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/strategicprojects/apifetch/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/strategicprojects/apifetch/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "pillar",
    "pkgconfig",
    "R6",
    "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-06-26 18:22:38",
      "modified": "2026-06-26 19:11:40",
      "commits": 2
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "apifetch",
  "_universes": [
    "strategicprojects"
  ],
  "_previous": "0.1.0.9000",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-28T22:26:04.000Z",
      "distro": "resolute",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/fd9e47bbfe345dde8f1c1b8ed4de361418bc983781d7a5cb2798e8a37e07fecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-28T22:26:12.000Z",
      "distro": "resolute",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/66c946ce3e6ed084c2ddec6cc277b56f68b56f77bc38d84341b8c4ed505dd701",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-28T22:52:01.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/d6939897074d16fd422e8aa554d0012af020d0ec4c2a16615aaaa131e90fb945",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-28T22:51:55.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/a008d54106b3025beb027540a2be87e7d463e0818cda8d7a885d4d9fe4dbd763",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-28T22:26:37.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/b05612f63a6a735b57e98b59d5b2a64ee3ed0e2cf89883da437e1ac72ed728c9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-28T22:25:08.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/10b4aaa8b83bf6ed6aa17b2670e319a2428f693c615e3876f026d06e2acbb605",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-28T22:24:58.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/d25ff1f9b8887d9ab1fa7ee8e2ee0f7f34d24254c18373d09daefc512cc80f59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-28T22:25:03.000Z",
      "commit": "ffa2e20f04159a3c968d81e6971ca37f5f442aea",
      "fileid": "https://r2.ropensci.org/754e74f55b944939c2a227b57816198fa33a3e72e7fd427f10af4cd53f686d51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/strategicprojects/actions/runs/36491815597"
    }
  ]
}