I feel like there is a big missing part here. Could someone help me find it?
Thank you,
Randy McGregor
You can list the users in a group by calling the get_members()
method. The method returns a dictionary that not only gives you the member list, but also the owner, admin and users.
geocaching_group.get_members()
{'owner': 'arcgis_python', 'admins': ['arcgis_python'], 'users': ['api_data_owner']}
Solved! Go to Solution.
Hi Randy,
The users will be the group members:
arcgis.gis module — arcgis 1.8.0 documentation
The following should provide the users:
geocaching_group.get_members()['users']
Hi Randy,
The users will be the group members:
arcgis.gis module — arcgis 1.8.0 documentation
The following should provide the users:
geocaching_group.get_members()['users']
Thank you!
I knew it was simple. I'm just not yet proficient the structure of JSON.
This did it:
member = group.get_members()
for member in members['users']:
print(member)