Skip to content

Discovery

polestar_api.discovery

Service discovery for Polestar gRPC endpoints and vehicle listing.

discover_c3_endpoint async

discover_c3_endpoint(access_token: str) -> GrpcEndpoint

Discover the C3 gRPC endpoint via the Volvo Cloud discovery service.

get_vehicles async

get_vehicles(access_token: str) -> list[VehicleInfo]

Fetch the user's vehicles.

The current mobile app uses the app-backend GraphQL endpoint with the X-PolestarId-Authorization header and Apollo-style request metadata.