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']))
def portal_info(): portal = Portal('http://portaldev.esri.com') print portal.info()
def proxy_through_fiddler(): portal = Portal('http://www.arcgis.com', proxy_host='localhost', proxy_port=8888) print portal.info()