10REM / php-garmin-connect

A PHP adapter for interrogating the Garmin Connect "API"
MIT License
84 stars 41 forks source link

Garmin API endpoints have changed - some help is required #28

Closed DaveWilcock closed 3 years ago

DaveWilcock commented 6 years ago

I have recently found that Garmin have deprecated a lot of the API endpoints that were being used in this library. I have snooped enough to fix the authentication mechanism, and the ability to get activities, but that's about it at the minute. I would appreciate help from anyone in identifying the other URLs that need to be updated. The are currently for the following methods:

The way that I captured authentication and getActivityList(), was to login to Garmin Connect in Google Chrome with Developer Tools open, hit the Record button in the Network tab, and filter all XHR requests - these are invariable the API calls being made at various points.

cabby26 commented 6 years ago

Look at the Fork of klorie

klorie commented 6 years ago

My fork was also a work in progress, it's already obsolete...

AByGCreation commented 6 years ago

Hello, have you seen my post here : https://github.com/AByGCreation/php-garmin-connect/tree/patch-2, is this will help you ?

DaveWilcock commented 6 years ago

Hi,

Can you submit a pull request for this work and I'll take a look!

Cheers, Dave

On Thu, 17 May 2018, 9:04 pm A ByG Creation, notifications@github.com wrote:

Hello, have you seen my post here : https://github.com/AByGCreation/php-garmin-connect/tree/patch-2, is this will help you ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dawguk/php-garmin-connect/issues/28#issuecomment-389992201, or mute the thread https://github.com/notifications/unsubscribe-auth/AAZ4nvH2GDW5R2Xpy1SQ4Nm6VmuOemEEks5tzdfSgaJpZM4TMRxc .

hmsuchier commented 5 years ago

Hi, Thanks for your work that allowed me to start a js connector for Cozy, a french decentralized cloud project. The connector project is here. Are you still interested in pull requests concerning route changes? Thanks

DaveWilcock commented 5 years ago

Hi,

I'm interested in all pull requests, if they make the software better!

Many thanks, Dave

DaveWilcock commented 5 years ago

Most endpoints are now working, apart from the endpoint URL used in getActivityDetails() method - I'm still unable to get to the bottom of this one.