{
  "_id": "6a25b3cd794753ddbc3df8ad",
  "Package": "nectar",
  "Title": "A Framework for Web API Packages",
  "Version": "0.0.0.9007",
  "Authors@R": "c(\nperson(\"Jon\", \"Harmon\", , \"jonthegeek@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4781-4346\")),\nperson(\"R Consortium\", role = \"fnd\")\n)",
  "Description": "An opinionated framework for use within api-wrapping R\npackages.",
  "License": "MIT + file LICENSE",
  "URL": "https://nectar.api2r.org, https://github.com/api2r/nectar",
  "BugReports": "https://github.com/api2r/nectar/issues",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "wranglezone/tibblify"
  ],
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://jonthegeek.r-universe.dev",
  "Date/Publication": "2026-06-07 16:39:09 UTC",
  "RemoteUrl": "https://github.com/jonthegeek/nectar",
  "RemoteRef": "HEAD",
  "RemoteSha": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-07 18:06:10 UTC",
    "User": "root"
  },
  "Author": "Jon Harmon [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4781-4346>),\nR Consortium [fnd]",
  "Maintainer": "Jon Harmon <jonthegeek@gmail.com>",
  "MD5sum": "6cb57a2589d4a5187566e76f8b029fb9",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "nectar_0.0.0.9007.tar.gz",
  "_fileid": "8395c46b744a412c41cf50349068610c193d084927b0bd924139d5a9231bf821",
  "_filesize": 534032,
  "_sha256": "8395c46b744a412c41cf50349068610c193d084927b0bd924139d5a9231bf821",
  "_created": "2026-06-07T18:06:10.000Z",
  "_published": "2026-06-07T18:09:17.010Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79980365441,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7466646537"
    },
    {
      "job": 79980365426,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7466645117"
    },
    {
      "job": 79980365432,
      "time": 104,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7466642229"
    },
    {
      "job": 79980365437,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7466645812"
    },
    {
      "job": 79980081128,
      "time": 264,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7466628548"
    },
    {
      "job": 79980365422,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7466645434"
    },
    {
      "job": 79980365458,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7466640440"
    },
    {
      "job": 79980365429,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7466638820"
    },
    {
      "job": 79980365479,
      "time": 85,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7466639654"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jonthegeek/nectar",
  "_commit": {
    "id": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
    "author": "Copilot <198982749+Copilot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Split JSON tidying into core parser and tibblify wrapper (#96)\n\n* Initial plan\n\n* Split JSON tidiers into core and tibblify variants\n\nCo-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com>\n\n* Address PR feedback for JSON tidier split\n\nCo-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com>\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>\nCo-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com>",
    "time": 1780850349
  },
  "_maintainer": {
    "name": "Jon Harmon",
    "email": "jonthegeek@gmail.com",
    "login": "jonthegeek",
    "mastodon": "@jonthegeek@fosstodon.org",
    "bluesky": "@jonthegeek.com",
    "linkedin": "in/jonthegeek",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)",
    "uuid": 33983824,
    "orcid": "0000-0003-4781-4346"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stbl",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tibblify",
      "role": "Suggests"
    }
  ],
  "_owner": "jonthegeek",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2025-38",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 1
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 6
    },
    {
      "week": "2026-15",
      "n": 4
    },
    {
      "week": "2026-19",
      "n": 3
    },
    {
      "week": "2026-20",
      "n": 5
    },
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 16,
  "_contributors": [
    {
      "user": "jonthegeek",
      "count": 47,
      "uuid": 33983824
    },
    {
      "user": "copilot",
      "count": 9,
      "uuid": 198982749
    }
  ],
  "_userbio": {
    "uuid": 33983824,
    "type": "user",
    "name": "Jon Harmon",
    "description": "Executive Director at DSLC.io (fka @r4ds) | Principal Developer (@atorus-research)"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nectar"
  },
  "_devurl": "https://github.com/api2r/nectar",
  "_pkgdown": "https://nectar.api2r.org",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/nectar.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "auth_api_key",
    "auth_prepare",
    "choose_pagination_fn",
    "compact_nested_list",
    "do_if_fn_defined",
    "iterate_with_json_cursor",
    "req_auth_api_key",
    "req_init",
    "req_modify",
    "req_pagination_policy",
    "req_perform_opinionated",
    "req_pkg_user_agent",
    "req_prepare",
    "req_tidy_policy",
    "resp_body_auto",
    "resp_body_csv",
    "resp_body_separate",
    "resp_body_tsv",
    "resp_parse",
    "resp_tidy",
    "resp_tidy_json",
    "resp_tidy_json_tibblify",
    "resp_tidy_unknown",
    "tidy_policy_body_auto",
    "tidy_policy_json",
    "tidy_policy_json_tibblify",
    "tidy_policy_prepare",
    "tidy_policy_unknown",
    "url_normalize",
    "url_path_append"
  ],
  "_help": [
    {
      "page": "auth_api_key",
      "title": "Prepare API key authentication independent of a request",
      "concept": [
        "opinionated auth functions"
      ],
      "topics": [
        "auth_api_key"
      ]
    },
    {
      "page": "auth_prepare",
      "title": "Prepare authentication independent of a request",
      "concept": [
        "opinionated auth functions"
      ],
      "topics": [
        "auth_prepare"
      ]
    },
    {
      "page": "choose_pagination_fn",
      "title": "Extract a pagination policy from a request",
      "topics": [
        "choose_pagination_fn"
      ]
    },
    {
      "page": "compact_nested_list",
      "title": "Discard empty elements",
      "topics": [
        "compact_nested_list"
      ]
    },
    {
      "page": "do_if_fn_defined",
      "title": "Use a provided function",
      "topics": [
        "do_if_fn_defined"
      ]
    },
    {
      "page": "iterate_with_json_cursor",
      "title": "Iteration helper for json cursors",
      "topics": [
        "iterate_with_json_cursor"
      ]
    },
    {
      "page": "req_auth_api_key",
      "title": "Authenticate with an API key",
      "concept": [
        "opinionated auth functions",
        "opinionated request functions"
      ],
      "topics": [
        "req_auth_api_key"
      ]
    },
    {
      "page": "req_init",
      "title": "Setup a basic API request",
      "concept": [
        "opinionated request functions"
      ],
      "topics": [
        "req_init"
      ]
    },
    {
      "page": "req_modify",
      "title": "Modify an API request for a particular endpoint",
      "concept": [
        "opinionated request functions"
      ],
      "topics": [
        "req_modify"
      ]
    },
    {
      "page": "req_pagination_policy",
      "title": "Define a pagination policy for a request",
      "concept": [
        "opinionated request functions"
      ],
      "topics": [
        "req_pagination_policy"
      ]
    },
    {
      "page": "req_perform_opinionated",
      "title": "Perform a request with opinionated defaults",
      "topics": [
        "req_perform_opinionated"
      ]
    },
    {
      "page": "req_pkg_user_agent",
      "title": "Append package information to user agent",
      "topics": [
        "req_pkg_user_agent"
      ]
    },
    {
      "page": "req_prepare",
      "title": "Prepare a request for an API",
      "concept": [
        "opinionated request functions"
      ],
      "topics": [
        "req_prepare"
      ]
    },
    {
      "page": "req_tidy_policy",
      "title": "Define a tidy policy for a request",
      "concept": [
        "opinionated request functions",
        "opinionated response parsers"
      ],
      "topics": [
        "req_tidy_policy"
      ]
    },
    {
      "page": "resp_body_auto",
      "title": "Automatically choose a body parser",
      "topics": [
        "resp_body_auto"
      ]
    },
    {
      "page": "resp_body_csv",
      "title": "Extract tabular data from response body",
      "topics": [
        "resp_body_csv",
        "resp_body_tsv"
      ]
    },
    {
      "page": "resp_body_separate",
      "title": "Extract response body into list",
      "topics": [
        "resp_body_separate"
      ]
    },
    {
      "page": "resp_parse",
      "title": "Parse one or more responses",
      "topics": [
        "resp_parse",
        "resp_parse.default",
        "resp_parse.httr2_response"
      ]
    },
    {
      "page": "resp_tidy",
      "title": "Extract and clean an API response",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "resp_tidy"
      ]
    },
    {
      "page": "resp_tidy_json",
      "title": "Extract and optionally subset a JSON API response",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "resp_tidy_json"
      ]
    },
    {
      "page": "resp_tidy_json_tibblify",
      "title": "Extract and clean a JSON API response with tibblify",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "resp_tidy_json_tibblify"
      ]
    },
    {
      "page": "resp_tidy_unknown",
      "title": "Error informatively for unknown response types",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "resp_tidy_unknown"
      ]
    },
    {
      "page": "tidy_policy_body_auto",
      "title": "A policy to automatically parse a response body",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "tidy_policy_body_auto"
      ]
    },
    {
      "page": "tidy_policy_json",
      "title": "A policy to parse a response body as JSON",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "tidy_policy_json"
      ]
    },
    {
      "page": "tidy_policy_json_tibblify",
      "title": "A policy to parse a response body as JSON",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "tidy_policy_json_tibblify"
      ]
    },
    {
      "page": "tidy_policy_prepare",
      "title": "Prepare tidying independent of a request",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "tidy_policy_prepare"
      ]
    },
    {
      "page": "tidy_policy_unknown",
      "title": "A policy to error for unknown response bodies",
      "concept": [
        "opinionated response parsers"
      ],
      "topics": [
        "tidy_policy_unknown"
      ]
    },
    {
      "page": "url_normalize",
      "title": "Normalize a URL",
      "topics": [
        "url_normalize"
      ]
    },
    {
      "page": "url_path_append",
      "title": "Add path elements to a URL",
      "topics": [
        "url_path_append"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jonthegeek/nectar/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/jonthegeek/nectar/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "fs",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "purrr",
    "R6",
    "rappdirs",
    "rlang",
    "stbl",
    "stringi",
    "stringr",
    "sys",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "nectar.Rmd",
      "filename": "nectar.html",
      "title": "nectar",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preparing a request with req_prepare()",
        "Authentication with auth_api_key()",
        "Response tidying with resp_tidy_json_tibblify()",
        "Pagination with iterate_with_json_cursor()",
        "Performing the request with req_perform_opinionated()",
        "Parsing the response with resp_parse()",
        "Putting it all together",
        "Building an API package with nectar"
      ],
      "created": "2026-04-08 16:06:33",
      "modified": "2026-06-07 16:39:09",
      "commits": 5
    }
  ],
  "_score": 5.898725181589494,
  "_indexed": true,
  "_nocasepkg": "nectar",
  "_universes": [
    "jonthegeek",
    "api2r"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:08:43.000Z",
      "distro": "noble",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "1ef4db23aac4151fa6673febe28913d3464bbf466244e17e4b292edfacd09742",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:08:30.000Z",
      "distro": "noble",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "4ad936c3334cc5111a03edc53877b74bf0fe1aa5e2d45603983828ef0093c2d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:08:09.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "ef903685eedafffd4362aab522533897df0696851bb659b38d40b17014db448d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:08:34.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "b2bc56d58fb2f52644acb050a377eabd7b96883cfcfbb3dbc84351a9fd5cd8bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:08:51.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "16c13b4d33e0c18c398f68682c8fa3d2b75d080d7f387ce05f2da27bcefa18fe",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:07:44.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "bba2255537837e1fd526461b5289d9435c8ba68ea556d44a3f48f55eb0028894",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:07:30.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "0408e9e3cc5cf28ad341ecbd3202b61969eab06301685763120b4e777d577431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-06-07T18:07:37.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "75a2d7adb0833b36544d0aa5cf8964d7b26ccb5615770e4a2fe9ff7c83d05a03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/27100445339"
    }
  ]
}