Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 402 Bytes

getUser.md

File metadata and controls

31 lines (23 loc) · 402 Bytes

Get User

Returns the user object of the logged in user.

If you specify an ID, it returns the object of that user.

Code

API.getUser();

Response

{
    id: 80,
    username: '',
    avatarID: '',
    language: 'en',
    joined: undefined,
    level: 1,
    role: 0,
    gRole: 0,
    badge: undefined,
}

Endpoint

https://plug.dj/_/