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(gis.properties.user.username))
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.