Anthony,
You can use the ArcGIS API for Python to do this. For example:
from arcgis.gis import GIS
portal = "https://arcgis.com"
username = "XXXX"
password = "XXXX"
gis = GIS(portal, username, password)
item = gis.content.get('XXXX')
csv = item.export("TEST", "CSV")
csv.download(r"C:\temp", "TESTING.csv")
Hope this helps!
-Josh