Hello,
Can you please guide me how can I use 'usage_reports' from AGOLAdminManager and retrieve reports.
Thank you,
Hi @PhanindraDulam1,
You can use AGOLUsageReports in arcgis.gis.admin module to generate different reports :
For more details, please see our documentation:
https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#agolusagereports
Best,
MJ
We have the same question. In particular, it would be helpful to have documentation or samples for these reports.
We were able to generate a user report using the following code, but it would be nice to see all reporting options and available parameters.
import arcgis, datetime, time from arcgis.gis import GIS import getpass password = getpass.getpass("Enter Password: ") gis = GIS("https://our_agol_hostname.maps.arcgis.com", "user_account", password) print ("Logged in!") gis.admin.usage_reports.applications()
Did you ever figure this out?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.