isogeo_pysdk.api.routes_workgroup module
Isogeo API v1 - API Routes for Workgroups entities
See: http://help.isogeo.com/api/complete/index.html#tag-workgroup
- class isogeo_pysdk.api.routes_workgroup.ApiWorkgroup(api_client=None)
Bases:
object
Routes as methods of Isogeo API used to manipulate workgroups.
- coordinate_systems(workgroup_id, caching=1)
Returns coordinate-systems for the specified workgroup. It’s just an alias for the ApiCoordinateSystem.listing method.
- create(workgroup, check_exists=1)
Add a new workgroup to Isogeo.
- delete(workgroup_id)
Delete a workgroup from Isogeo database.
- Parameters
workgroup_id (str) – identifier of the workgroup
- exists(workgroup_id)
Check if the specified workgroup exists and is available for the authenticated user.
- get(workgroup_id, include=('_abilities', 'limits'))
Get details about a specific workgroup.
- invitations(workgroup_id)
Returns active invitations (including expired) for the specified workgroup. Just a shortcut.
- invite(workgroup_id, invitation)
Invite new user to a workgroup. Just a shortcut.
- Parameters
workgroup_id (str) – workgroup UUID
invitation (Invitation) – Invitation object to send
- Return type
- limits(workgroup_id)
Returns limits for the specified workgroup.
- listing(include=('_abilities', 'limits'), caching=1)
Get workgroups.
- memberships(workgroup_id)
Returns memberships for the specified workgroup.
- statistics(workgroup_id)
Returns statistics for the specified workgroup.
- statistics_by_tag(workgroup_id, tag)
Returns statistics for the specified workgroup. See: http://help.isogeo.com/api/complete/index.html#operation–groups–gid–statistics-tag–tag–get
Be careful: if an invalid character is present into the response (e.g. contact.name = ‘bureau GF-3A’), a ConnectionError / ReadTimeout will be raised.