gather_org_info

Find information about your ArcGIS Online Organization

In [14]:
from arcgis.gis import *
from getpass import getpass
password = getpass()
········
In [15]:
online_gis = GIS("https://www.arcgis.com", "atma_mani", password)

Portal self properties

Parses your portal self REST endpoint

In [18]:
online_gis.properties.helperServices.geocode
Out[18]:
[{
   "url": "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer",
   "northLat": "Ymax",
   "name": "Esri World Geocoder",
   "eastLon": "Xmax",
   "suggest": true,
   "westLon": "Xmin",
   "southLat": "Ymin"
 }]

helper services

In [ ]:
 

Get remaining credits

In [19]:
online_gis.properties.availableCredits
Out[19]:
199.37575

Get info about logged in user

In [20]:
me = online_gis.users.me
In [21]:
me
Out[21]:
Atma Mani

Bio:
First Name: Atma
Last Name: Mani
Username: atma_mani
Joined: February 26, 2017
In [22]:
me.access
Out[22]:
'org'
In [23]:
me.role
Out[23]:
'org_admin'
In [ ]: