Skip to content

Latest commit

 

History

History
62 lines (45 loc) · 1.26 KB

users.md

File metadata and controls

62 lines (45 loc) · 1.26 KB

Users

These are the users of Twitch! They own a stream that they can broadcast on a channel.

Get user

GET /users/:user

Returns the user's metadata.

Response

{
  "name": "hebo",
  "created_at": "2011-03-19T15:42:22Z",
  "updated_at": "2012-06-14T00:14:27Z",
  "_links": {
    "self": "https://api.twitch.tv/kraken/users/hebo"
  },
  "logo": "http://static-cdn.jtvnw.net/jtv_user_pictures/hebo-profile_image-6947308654ad603f-300x300.jpeg",
  "_id": 21229404,
  "display_name": "Hebo"
}

Get authenticated user

GET /user

Authenticated, required scope: user_read

Returns the authenticated user's metadata.

Response

{
  "name": "cevtest12",
  "created_at": "2011-06-03T17:49:19Z",
  "updated_at": "2012-06-18T17:19:57Z",
  "_links": {
    "self": "https://api.twitch.tv/kraken/users/cevtest12"
  },
  "logo": "http://static-cdn.jtvnw.net/jtv_user_pictures/cevtest12-profile_image-62e8318af864d6d7-300x300.jpeg",
  "_id": 22761313,
  "display_name": "Cevtest12",
  "email": "[email protected]",
  "partnered": true
}

Update the specified user.

PATCH /user/:user/

Authenticated, required scope: user

(Not implemented)