Paging Alex Tereshenkov! I'm trying to run your script located here:
Get data sources that are used by ArcGIS Server map services with Python | Tereshenkov's Blog
but I'm getting an error when I get to here:
def get_connection(data):
'''return database connection string for the service'''
return data['SVCManifest']['Databases']['SVCDatabase']['OnPremiseConnectionString']
Error:
TypeError: list indices must be integers, not str
Any ideas? This looks very useful!