List the brew info --json=v1
output for all current nodenv/homebrew-nodenv formulae.
GET https://nodenv.github.io/formulae/api/formula.json
[
...
{
"name": "nodenv-update",
"full_name": "nodenv/nodenv/nodenv-update",
"oldname": null,
"aliases": [],
"versioned_formulae": [],
"desc": "Update nodenv plugins not installed with Homebrew",
"homepage": "https://github.com/charlesbjohnson/nodenv-update",
"versions": {
"stable": "1.0.0",
"devel": null,
"head": "HEAD",
"bottle": false
},
"urls": {},
"revision": 0,
"version_scheme": 0,
"bottle": {},
"keg_only": false,
"bottle_disabled": false,
"options": [],
"build_dependencies": [],
"dependencies": [
"nodenv"
],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"requirements": [],
"conflicts_with": [],
"caveats": null,
"installed": [],
"linked_keg": null,
"pinned": false,
"outdated": false
},
...
]
Get the brew info --json=v1
output for a single, current nodenv/homebrew-nodenv formula with an extra analytics
key with analytics data.
GET https://nodenv.github.io/formulae/api/formula/${FORMULA}.json
${FORMULA}
: the name of the formula e.g. wget
{
"name": "nodenv-update",
"full_name": "nodenv/nodenv/nodenv-update",
"oldname": null,
"aliases": [],
"versioned_formulae": [],
"desc": "Update nodenv plugins not installed with Homebrew",
"homepage": "https://github.com/charlesbjohnson/nodenv-update",
"versions": {
"stable": "1.0.0",
"devel": null,
"head": "HEAD",
"bottle": false
},
"urls": {},
"revision": 0,
"version_scheme": 0,
"bottle": {},
"keg_only": false,
"bottle_disabled": false,
"options": [],
"build_dependencies": [],
"dependencies": [
"nodenv"
],
"recommended_dependencies": [],
"optional_dependencies": [],
"uses_from_macos": [],
"requirements": [],
"conflicts_with": [],
"caveats": null,
"installed": [],
"linked_keg": null,
"pinned": false,
"outdated": false,
"analytics": {
"install": {
"30d": {
"nodenv-update": 0
},
"90d": {
"nodenv-update": 0
},
"365d": {
"nodenv-update": 0
}
},
"install_on_request": {
"30d": {
"nodenv-update": 0
},
"90d": {
"nodenv-update": 0
},
"365d": {
"nodenv-update": 0
}
},
"build_error": {
"30d": {
"nodenv-update": 0
}
}
}
}
List all analytics events for a specified category and number of days.
GET https://nodenv.github.io/formulae/api/analytics/${CATEGORY}/${DAYS}.json
${CATEGORY}
: the category of the analytics events, i.e.
install
: the installation of all formulaeinstall-on-request
: the requested installation of all formulae (i.e. not as a dependency of other formulae)cask-install
: the installation of all casksbuild-error
: the installation failure of all formulaeos-version
: the macOS version of all machines that have submitted an event${DAYS}
: the number of days of analytics events, i.e.
30d
: 30 days90d
: 90 days365d
: 365 days{
"category": "install",
"total_items": 13273,
"start_date": "2020-03-06",
"end_date": "2020-04-05",
"total_count": 20029499,
"items": [
...
{
"number": 3614,
"formula": "nodenv/nodenv/node-build-update-defs",
"count": "39",
"percent": "0.00"
},
...
]
}