<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can i use 'usage_reports' from AGOLAdminManager in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/1236954#M8080</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/326909"&gt;@PhanindraDulam1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;AGOLUsageReports in &lt;SPAN&gt;arcgis.gis.admin&lt;/SPAN&gt; module to generate different reports :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;applications&lt;/STRONG&gt;:&amp;nbsp;Creates a usage report for all registered application logins for a given organization on ArcGIS Online.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;gis.admin.usage_reports.applications&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;start_time&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;time_frame&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'week'&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;credit&amp;nbsp;&lt;/STRONG&gt;:&amp;nbsp;Creates a Report as a Panda’s dataframe or CSV file for a given time range for ArcGIS Online Organizations.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;gis.admin.usage_reports.credit&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;start_time&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;time_frame&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'week'&lt;/SPAN&gt;&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;export&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;users&lt;/STRONG&gt;:&amp;nbsp;Creates a usage report for all users for a given organization on ArcGIS Online.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;gis.admin.usage_reports.users(start_time=None, time_frame='week')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details, please see our documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#agolusagereports" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#agolusagereports&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 19:53:43 GMT</pubDate>
    <dc:creator>MJBiazar</dc:creator>
    <dc:date>2022-12-01T19:53:43Z</dc:date>
    <item>
      <title>How can i use 'usage_reports' from AGOLAdminManager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757359#M378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please guide me how can I use 'usage_reports' from AGOLAdminManager and retrieve reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 11:27:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757359#M378</guid>
      <dc:creator>PhanindraDulam1</dc:creator>
      <dc:date>2017-09-18T11:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use 'usage_reports' from AGOLAdminManager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757360#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever figure this out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 23:19:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757360#M379</guid>
      <dc:creator>BarryBiediger</dc:creator>
      <dc:date>2017-12-11T23:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use 'usage_reports' from AGOLAdminManager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757361#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have the same question.&amp;nbsp; In particular, it would be helpful to have documentation or samples for these reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;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()&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/757361#M380</guid>
      <dc:creator>deactivated-user-ChrisBeaudett</dc:creator>
      <dc:date>2021-12-12T08:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can i use 'usage_reports' from AGOLAdminManager</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/1236954#M8080</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/326909"&gt;@PhanindraDulam1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use&amp;nbsp;AGOLUsageReports in &lt;SPAN&gt;arcgis.gis.admin&lt;/SPAN&gt; module to generate different reports :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;applications&lt;/STRONG&gt;:&amp;nbsp;Creates a usage report for all registered application logins for a given organization on ArcGIS Online.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;gis.admin.usage_reports.applications&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;start_time&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;time_frame&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'week'&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;STRONG&gt;credit&amp;nbsp;&lt;/STRONG&gt;:&amp;nbsp;Creates a Report as a Panda’s dataframe or CSV file for a given time range for ArcGIS Online Organizations.&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;gis.admin.usage_reports.credit&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN class=""&gt;start_time&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;None&lt;/SPAN&gt;&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;time_frame&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;'week'&lt;/SPAN&gt;&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;&lt;SPAN class=""&gt;export&lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt;&lt;SPAN class=""&gt;False&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;users&lt;/STRONG&gt;:&amp;nbsp;Creates a usage report for all users for a given organization on ArcGIS Online.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;gis.admin.usage_reports.users(start_time=None, time_frame='week')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details, please see our documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#agolusagereports" target="_blank" rel="noopener nofollow noreferrer"&gt;https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#agolusagereports&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;MJ&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 19:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-use-usage-reports-from-agoladminmanager/m-p/1236954#M8080</guid>
      <dc:creator>MJBiazar</dc:creator>
      <dc:date>2022-12-01T19:53:43Z</dc:date>
    </item>
  </channel>
</rss>

