Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Получение информации о пользователе по uid или nickname #413

Open
glebliutsko opened this issue Feb 21, 2021 · 0 comments
Labels
feature Новая функция или улучшение старой hacktoberfest https://hacktoberfest.com/

Comments

@glebliutsko
Copy link
Contributor

glebliutsko commented Feb 21, 2021

Эндпоинт

GET /users/{user}

user - uid или nickname пользователя

Ответ

{
   "invocationInfo":{
      "hostname":"music-stable-back-vla-26.vla.yp-c.yandex.net",
      "req-id":"1613947760044063-1466008093483259153",
      "exec-duration-millis":"37"
   },
   "result":{
      "uid":410060648,
      "login":"gleb.liutsko",
      "name":"Глеб Люцко",
      "displayName":"Глеб Люцко",
      "fullName":"Глеб Люцко",
      "verified":false,
      "statistics":{
         "likedUsers":4,
         "likedByUsers":8,
         "hasTracks":true,
         "likedArtists":47,
         "likedAlbums":0,
         "ugcTracks":0
      },
      "socialProfiles":[
         {
            "provider":"lastfm",
            "addresses":[
               "http://www.last.fm/user/glebliutsko"
            ]
         }
      ]
   }
}
@MarshalX MarshalX added the feature Новая функция или улучшение старой label Feb 22, 2021
@MarshalX MarshalX added the hacktoberfest https://hacktoberfest.com/ label Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Новая функция или улучшение старой hacktoberfest https://hacktoberfest.com/
Projects
None yet
Development

No branches or pull requests

2 participants