コード例 #1
0
def portal_info_plus():
    portal = Portal('http://portaldev.esri.com')
    print portal.info()
    pprint(portal.properties())
    pprint(portal.languages())
    pprint(portal.regions())
    pprint(portal.basemaps(['title']))
    pprint(portal.color_sets(['title']))
    pprint(portal.featured_items(['title']))
    pprint(portal.featured_items_homepage(['title']))
    pprint(portal.feature_collection_templates(['title']))
    pprint(portal.symbol_sets(['title']))
    pprint(portal.gallery_templates(['title']))
    pprint(portal.webmap_templates(['title']))
コード例 #2
0
ファイル: recipes.py プロジェクト: VandanaR/PortalPy-AddIn
def portal_info_plus():
    portal = Portal('http://portaldev.esri.com')
    print portal.info()
    pprint(portal.properties())
    pprint(portal.languages())
    pprint(portal.regions())
    pprint(portal.basemaps(['title']))
    pprint(portal.color_sets(['title']))
    pprint(portal.featured_items(['title']))
    pprint(portal.featured_items_homepage(['title']))
    pprint(portal.feature_collection_templates(['title']))
    pprint(portal.symbol_sets(['title']))
    pprint(portal.gallery_templates(['title']))
    pprint(portal.webmap_templates(['title']))
コード例 #3
0
def portal_info():
    portal = Portal('http://portaldev.esri.com')
    print portal.info()
コード例 #4
0
def proxy_through_fiddler():
    portal = Portal('http://www.arcgis.com',
                    proxy_host='localhost',
                    proxy_port=8888)
    print portal.info()
コード例 #5
0
ファイル: recipes.py プロジェクト: VandanaR/PortalPy-AddIn
def portal_info():
    portal = Portal('http://portaldev.esri.com')
    print portal.info()
コード例 #6
0
ファイル: recipes.py プロジェクト: VandanaR/PortalPy-AddIn
def proxy_through_fiddler():
    portal = Portal('http://www.arcgis.com', proxy_host='localhost', proxy_port=8888)
    print portal.info()