USAGE
# Synchronous Example
from squadcast_sdk import SquadcastSDK
with SquadcastSDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as ss_client:
res = ss_client.analytics.get_org_analytics(from_="<value>", to="<value>")
# Handle response
print(res)# Asynchronous Example
import asyncio
from squadcast_sdk import SquadcastSDK
async def main():
async with SquadcastSDK(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
) as ss_client:
res = await ss_client.analytics.get_org_analytics_async(from_="<value>", to="<value>")
# Handle response
print(res)
asyncio.run(main())Last updated