garmin still not authorazing for post
This commit is contained in:
@@ -264,9 +264,10 @@ def ps_to_garmin(ps,r):
|
|||||||
client_secret=oauth_data['client_secret'],
|
client_secret=oauth_data['client_secret'],
|
||||||
resource_owner_key=r.garmintoken,
|
resource_owner_key=r.garmintoken,
|
||||||
resource_owner_secret=r.garminrefreshtoken,
|
resource_owner_secret=r.garminrefreshtoken,
|
||||||
|
signature_method='HMAC-SHA1'
|
||||||
)
|
)
|
||||||
|
|
||||||
url = 'https://apis.garmin.com/training-api/schedule/'
|
url = 'https://apis.garmin.com/training-api/workout/'
|
||||||
|
|
||||||
response = garmin.post(url,data=payload)
|
response = garmin.post(url,data=payload)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user