This script to generate the report PRTG to excel with PRTG API and Python. It will show Group Name, Device Name, Sensor, Status, Message, Last Value, Priority, IPv4 Address, Location, and Link to Device.
Set the variable:
serverurl="your server location"
username="your login username"
passhash="your login passhash"