Unable to run
root@FA056080:/mnt/c/Users/jai.sharma/Desktop/warranty_check# python starter.py
[!] Fetching order numbers from Device42
[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?
[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?
[!] HTTP error. Message was: Invalid URL '/api/1.0/purchases/': No schema supplied. Perhaps you meant http:///api/1.0/purchases/?
[+] dell section
[!] Fetching hardware models from Device42
[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?
[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?
[!] HTTP error. Message was: Invalid URL '/api/1.0/hardwares/': No schema supplied. Perhaps you meant http:///api/1.0/hardwares/?
[!] Fetching devices from Device42 with offset=0
[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?
[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?
[!] HTTP error. Message was: Invalid URL '/api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=': No schema supplied. Perhaps you meant http:///api/1.0/devices/all/?include_cols=serial_no,device_id,manufacturer&limit=50&offset=0&hardware=?
[!] Finished
In the Files folder is the file warranty.cfg.example. Did you copy this to warranty.cfg and then set you Device42 url, username, and password in the [device42] section? You should also enable/disable any warranty checks you want to run in the [discovery] section. If running warranty checks for cisco, dell, hp, or meraki, you will need to set some credential information in the appropriate section (e.g. there is a [cisco] section).