petergardfjall / garminexport

Garmin Connect activity exporter and backup tool
Apache License 2.0
507 stars 83 forks source link

Update endpoint for get_activity_details, fixes #27 #30

Closed eklitzke closed 5 years ago

eklitzke commented 5 years ago

The endpoint moved, this is the new URL. It looks like this code should probably be sending Accept: application/json headers throughout, but it's not really required as Garmin Connect seems to return JSON responses by default anyway.

petergardfjall commented 5 years ago

Should be fixed by 2e3597a. I found that the proposed change actually did not work (the path contains no json/ part). But thanks for reporting and for leading in the right direction!