stravalib.client.Client.list_subscriptions#

Client.list_subscriptions(client_id: int, client_secret: str) → BatchedResultsIterator[Subscription][source]#

List current webhook event subscriptions in place for the current application.

Parameters:
  • client_id (int) – application’s ID, obtained during registration

  • client_secret (str) – application’s secret, obtained during registration

Returns:

class – An iterator of stravalib.model.Subscription objects.

Return type:

BatchedResultsIterator

Notes

This call takes the credentials in the URL query string, so client_secret reaches the URL. A request body does not work here: a GET that carries one is rejected before it reaches Strava. URLs are recorded by proxies and server access logs, so treat a secret used here as exposed to your network path.