isogeo_pysdk.enums.workgroup_statistics_tags module¶
Isogeo API v1 - Enums for Workgroup statistics entity accepted tags
See: http://help.isogeo.com/api/complete/index.html#operation–groups–gid–statistics-tag–tag–get
Bases:
enum.Enum
Closed list of accepted tags for workgroup statistics in Isogeo API (used by the dashboard).
Example: >>> # parse members and values >>> print("{0:<30} {1:>20}".format("Enum", "Value")) >>> for tag in WorkgroupStatisticsTags: >>> print("{0:<30} {1:>20}".format(tag, tag.value)) Enum Value WorkgroupStatisticsTags.catalog catalog WorkgroupStatisticsTags.coordinateSystem coordinate-system WorkgroupStatisticsTags.format format WorkgroupStatisticsTags.inspireTheme keyword:inspire-theme WorkgroupStatisticsTags.owner owner
>>> # check if a var is an accepted value >>> print("catalog" in WorkgroupStatisticsTags.__members__) True >>> print("Catalog" in WorkgroupStatisticsTags.__members__) # case sensitive False >>> print("coordinate-system" in WorkgroupStatisticsTags.__members__) False >>> print("coordinateSystem" in WorkgroupStatisticsTags.__members__) True
See: https://docs.python.org/3/library/enum.html