stravalib.client.Client.handle_subscription_callback

Client.handle_subscription_callback(raw, verify_token='STRAVA')[source]

Validate callback request and return valid response with challenge.

Returns

The JSON response expected by Strava to the challenge request.

Return type

Dict[str, str]