>Why don't you fetch the orgs and networks you need directly by using their ID though? You know the names before you start, but not the ID's usually. This is a common bit of code I use to get the orgId. # Search for the org
orgs = meraki.organizations.get_organizations()
for org in orgs:
if org['name'] == orgName:
orgId=org['id']
break; "break" is elegant and simple. You know there is going to be a 1:1 match, so there is no point continuing on once you have your answer.
... View more