Client libraries
Libraries.
Official, typed clients for the macadress.com API, so you call a method instead of building requests. Same free API key as the REST API and every extension.
Available now
PHP · Laravel
PHP
composer require macadress/macadress-php. Typed results and exceptions, a keyless vendor() call, single / batch / directory lookups, and an auto-discovered Laravel service provider and facade.
JavaScript · TypeScript
JavaScript
npm install macadress, or jsr:@macadress/macadress for Deno. Zero dependencies, typed results and errors, the same keyless vendor() and single / batch / directory calls. Runs on Node.js, Deno, Bun and browsers.
Go
Go
go get github.com/sapisos/macadress-go. Standard library only, context.Context on every call, typed result structs and errors.Is sentinels, the same keyless Vendor and single / batch / directory calls.
Python
Python
pip install macadress. Sync Client and async AsyncClient from one API, typed dataclass results and one exception per failure mode, the same keyless vendor() and single / batch / directory calls. One dependency.
Other languages
A Ruby client is planned. Until one lands for your language, any HTTP client works: a single GET /v1/mac/:mac, a batched POST /v1/mac/batch of up to 100 addresses, or the keyless plain-text GET /v1/vendor/:mac. See the API docs for request and response shapes. Want a library for a language that isn't here yet? Tell us.