The Presence Service is a component at the service layer of the BDK which covers the Presence part of the REST API documentation. More precisely:
How to use#
The central component for the Presence Service is the
PresenceService class, it exposes the service APIs endpoints mentioned above.
The service is accessible from the
SymphonyBdk object by calling the
class PresenceMain: @staticmethod async def run(): bdk_config = BdkConfigLoader.load_from_file("path/to/config.yaml") async with SymphonyBdk(bdk_config) as bdk: presence_service = bdk.presence() presence = await presence_service.get_presence() print(presence) if __name__ == "__main__": asyncio.run(PresenceMain.run())