{
  "_id": "6a4cd2801bd53d33d6ac24ba",
  "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-07-07 10:15:36 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>",
  "_user": "jonthegeek",
  "_type": "src",
  "_file": "nectar_0.0.0.9007.tar.gz",
  "_fileid": "https://r2.ropensci.org/83be74303791589f65ce82247296e2cef1ae6f1f142807317932157cf04d5ee8",
  "_filesize": 535556,
  "_sha256": "83be74303791589f65ce82247296e2cef1ae6f1f142807317932157cf04d5ee8",
  "_expires": "2026-10-15T10:18:38.000Z",
  "_created": "2026-07-07T10:15:36.000Z",
  "_published": "2026-07-07T10:18:39.962Z",
  "_jobs": [
    {
      "job": 85591701036,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8134770028"
    },
    {
      "job": 85591701002,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8134768224"
    },
    {
      "job": 85591701016,
      "time": 73,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8134741569"
    },
    {
      "job": 85591701042,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8134745677"
    },
    {
      "job": 85591107526,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8134712108"
    },
    {
      "job": 85591701023,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8134759179"
    },
    {
      "job": 85591701075,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8134755018"
    },
    {
      "job": 85591701057,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8134745411"
    },
    {
      "job": 85591701038,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8134755599"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 361,
    "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.1",
  "_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",
    "LICENSE",
    "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-07-07T10:18:00.000Z",
      "distro": "resolute",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/c81387b3c93d189927660efd8477d64cc337d0a2c218a1014eca3d769149a0ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:17:53.000Z",
      "distro": "resolute",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/939daa23cae7e8b980dce9723f1a284cd95623174fd4c78bec2e96c190132aef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:16:54.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/a5ade1e790cb9e5b51c9f33089e903d12451943828c84b15b15fc99c99fc6649",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:17:02.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/3ba76df104feeec4200a5eb0f9c909e3d9aa4ca375b7a8c26595b397ddcfb9ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:17:50.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/ddd3a63cf69ff287cd3231f2abed3fbc0da052daf582e7221351c0fe5886faa7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:17:13.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/0ecc8c7e74de9703ab64e87b4c805a8f181da79322e62b45b2cbb1eac082006a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:16:49.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/9d896e89381e306baadeecc2e0bf5d0931246226988dc7b876371a2f9d7228a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.9007",
      "date": "2026-07-07T10:17:18.000Z",
      "commit": "d27c4cbd03f3b8c72e0beb577bfd49aca2881524",
      "fileid": "https://r2.ropensci.org/150bdfc9084edc214fd7ddaec86afb1684ef557385942591433275471ea309fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jonthegeek/actions/runs/28858543780"
    }
  ]
}