Script can be run both in docker container or not
###Building Run in project root directory:
docker build -f . docker/Dockerfile -t mac_info_getter --build_arg api_key=<your_api_key>Be aware that image is not meant to be shared as it contains your API key as environment variable!
###Running Run using docker command.
docker run --rm mac_info_getter <mac_address>To override API key given during building run.
docker run --rm mac_info_getter -e GET_MAC_INFO_API_KEY=<your_api_key> <mac_address>Note that script required python=>3.9 Check your version by running:
python3Set GET_MAC_INFO_API_KEY environment variable with your api key.
export GET_MAC_INFO_API_KEY=<your_api_key>Install requirements.
pip install -r requirements.txt###Running Run script.
python3 get_mac_info.py <mac_address>