stoufa06 / php-garmin-connect-api

PHP library to connect and use garmin wellness api
MIT License
8 stars 11 forks source link

getUserDetails returns only a ID #16

Closed andymurakami closed 2 months ago

andymurakami commented 1 year ago

I´m try to use :

$userDetails = $server->getUserDetails($tokenCredentials);

Return :

League\OAuth1\Client\Server\User Object ( [uid] => ID_RETURNED* [nickname] => [name] => [firstName] => [lastName] => [email] => [location] => [description] => [imageUrl] => [urls] => Array ( )

[extra] => Array
    (
        [userId] => ID_RETURNED*
    )

)

Any solution ?

stoufa06 commented 1 year ago

@andymurakami if you read garmin api docs you will see that garmin api gives only the user id, nothing more.

andymurakami commented 1 year ago

Sorry I´m think the docs are incomplete.. Thank You.