You have a couple of options:
- Write a normal python script (not using the python_scripts component of course) then use a command line sensor
- Use the API - but some processing of the returned data would be required, perhaps a python_script could be used for the processing
- Try this suggestion and just use a restful_sensor
For processing data checkout my data-detective, which you could import to do some processing.
Please post your progress
Cheers