Application Service#

The Application Service is a component at the service layer of the BDK which aims to cover the Applications part of the REST API documentation. More precisely:

How to use#

The central component for the Application Service is the ApplicationService class. This class exposes the user-friendly service APIs which serve all the services mentioned above and is accessible from the SymphonyBdk object by calling the applications() method:

class ApplicationMain:
    @staticmethod
    async def run():
        bdk_config = BdkConfigLoader.load_from_file("path/to/config.yaml")
        async with SymphonyBdk(bdk_config) as bdk:
            application_service = bdk.applications()
            app_entitlements = await application_service.list_application_entitlements()
            print(app_entitlements)


if __name__ == "__main__":
    asyncio.run(ApplicationMain.run())