Add me on LinkedIn.

Check out my restapi python package on GitHub, lots of useful functionality to work with the ArcGIS REST API. It uses arcpy for some functionality if available, otherwise uses comparable open source options.