fabulator / endomondo-api-old-base
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (v1.0.1) of this package.
Endomondo old API base.
v1.0.1
2017-12-03 09:28 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ~6.0
- ramsey/uuid: ^3.0
This package is auto-updated.
Last update: 2020-02-11 18:22:21 UTC
README
Endomondo is not offering some official API but there is a way that allows you to put, read or delete some data through their mobile API.
You can use this project on your own responsibility. Endomondo can make changes in this API without any warnings.
This is only basic API wrap that does not have any prepared endpoints. Only thing that is possible with this packpage is to authenticate in Endomondo API and send requests.
Example
$endomondo = new \Fabulator\Endomondo\EndomondoOldAPIBase(); $response = $endomondo->requestAuthToken(ENDOMONDO_LOGIN, ENDOMONDO_PASSWORD)->getBody(); $authToken = explode('=', explode("\n", $response)[2])[1]; print_r(json_decode($endomondo->send('/mobile/api/profile/account/get', [ 'authToken' => $authToken, ])->getBody(), true));