from __future__ import annotations import os from booklooker_client import BooklookerConfig, SyncBooklookerClient api_key = os.environ.get("BOOKLOOKER_API_KEY", "REPLACE_ME") config = BooklookerConfig(api_key=api_key) with SyncBooklookerClient(config) as client: token = client.authenticate() print("Token acquired:", token.token) print("Available endpoints:", client.available_endpoints)