Connection Service#

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 theSymphonyBdk object by calling the presence() method:

class PresenceMain:
    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()

if __name__ == "__main__":