Answers for "how to do a mac vendor lookup in python"

0

how to do a mac vendor lookup in python

import requests
 
for addr in ['88:53:2E:67:07:BE', 'FC:FB:FB:01:FA:21',
        'D4:F4:6F:C9:EF:8D', '23:45:67']:
    vendor = requests.get('http://api.macvendors.com/' + addr).text
    print(addr, vendor)
Posted by: Guest on July-29-2020

Python Answers by Framework

Browse Popular Code Answers by Language