remote library
Optional HTTP API client for the formulae.brew.sh catalog.
This library is standalone and not wired into the main Brew facade. It is useful for catalog browsing UIs where brew may not be installed.
Caveats:
- Static files with no versioning — schema can change without warning
- Read-only: no local state, no installed packages, no mutations
- Data may lag behind what
brewsees locally - Use for browsing/discovery only, not as a source of truth
Does not depend on any HTTP library. Consumers provide their own HTTP GET function via the HttpGetFn typedef.
Classes
- AnalyticsData
- Install analytics data from the formulae.brew.sh API.
- BrewApiClient
- Optional HTTP API client for the formulae.brew.sh catalog.
- CaskDetail
- Detailed cask info from the formulae.brew.sh API.
- CaskSummary
- Summary of a cask from the formulae.brew.sh catalog API.
- FormulaDetail
- Detailed formula info from the formulae.brew.sh API.
- FormulaSummary
- Summary of a formula from the formulae.brew.sh catalog API.
Extensions
- AnalyticsDataPatterns on AnalyticsData
- Adds pattern-matching-related methods to AnalyticsData.
- CaskDetailPatterns on CaskDetail
- Adds pattern-matching-related methods to CaskDetail.
- CaskSummaryPatterns on CaskSummary
- Adds pattern-matching-related methods to CaskSummary.
- FormulaDetailPatterns on FormulaDetail
- Adds pattern-matching-related methods to FormulaDetail.
- FormulaSummaryPatterns on FormulaSummary
- Adds pattern-matching-related methods to FormulaSummary.