stravalib.client.Client.get_route_streams#
- Client.get_route_streams(route_id: int) dict[str, Stream] [source]#
Returns streams for a route.
Streams represent the raw data of the saved route. External applications may access this information for all public routes and for the private routes of the authenticated athlete. The 3 available route stream types distance, altitude and latlng are always returned.
See: https://developers.strava.com/docs/reference/#api-Streams-getRouteStreams
- Parameters:
route_id (int) – The ID of activity.
- Returns:
A dictionary of
stravalib.model.Stream
from the route.- Return type:
dict