How would I export feature edit layers or their table data from arcgis online using Python or Arcpy? I want to download the attributes of a feature edit layer.
With ArcREST you can export/download feature services (plus plenty of other tasks). You can find the source code on GitHub and a sample blogpost that shows how to do it on an older version, though it should be relatively similar to ArcREST 3.
There are some sample scripts in the repo that should get you started, as well.