This provides a simple script and Dockerfile to provide vendor information for a given MAC address . This assumes you have registered and obtained an API key from macaddress.io.
- Linux environment with bash, curl, and Docker installed and running. Tested against Arch linux.
- An API key from https://macaddress.io/api
$ mac2vendor.sh 'api_key' 'MAC'
docker build -t mac2vendor .
docker run mac2vendor 'API_Key' 'MAC'