AnsweredAssumed Answered

How can I access my ArcGIS online content using the Python API?

Question asked by deleted-user-4LjGx0CueIPn on Sep 17, 2018
Latest reply on Sep 18, 2018 by deleted-user-4LjGx0CueIPn



I been trying to access my ArcGIS online content using the API. So far I been able to access by Connecting through ArcGIS Pro but I would like to use my actual credentials to access the account. 


I looked into the following method:


print("ArcGIS Online Org account")    gis = GIS("NyCompanyURL", "MyUserName", "MyPassword")print("Logged in as " + str(


when I use this method, the scripts seems to be running but nothing happens. I am assuming I am using the wrong approach for an ArcGIS enterprise account. Any help is appreciated.