方法
ArcGIS Online で、アイテム詳細ページにアクセスし、[使用量] タブをクリックすることによって、任意のアイテムの使用量を識別することができます。
![[使用量の詳細] ウィンドウの画像](https://s3-us-west-2.amazonaws.com/ist-app-support-files/000021762/00N39000003LL24-0EMf2000001I3O7.png)
Portal for ArcGIS の ArcGIS API for Python を使用して、プログラムによってアイテムの使用量を決定することもできます。
ポータル内のコンテンツ アイテムの使用量を識別する方法を次に示します。
from arcgis.gis import GIS
gis = GIS("https://arcgis.com", "user_name") print("connected")
content = gis.content.search(query="", sort_field="title", sort_order="asc", max_items=2) content
for item in content: print (item.homepage) print (item.usage ('24H')) print (item.usage ('7D')) print (item.usage ('14D')) print (item.usage ('30D')) print (item.usage ('60D')) print (item.usage ('6M')) print (item.usage ('1Y'))
次のスクリーンショットは、アイテムの使用量を示しています。

記事 ID: 000021762
ArcGIS エキスパートのサポートを受ける
今すぐチャットを開始