Skip to main content

SETTINGS_URL

Constant SETTINGS_URL 

Source
pub const SETTINGS_URL: &str = "https://api.simkl.com/users/settings";
Expand description

User settings, requires those headers in your request:

  • Content-Type:application/json
  • Authorization:Bearer [token]
  • simkl-api-key:[client_id]

Response will look like:

{
  "user": {
    "name": "Andrew Masyk",
    "joined_at": "2007-11-04T22:04:46Z",
    "gender": "male",
    "avatar": "https://graph.facebook.com/736253775/picture?width=100&height=100",
    "bio": "I'm a founder and developer at simkl.com - a socially powered TV show and movie tracking service",
    "loc": "New York, NY, USA",
    "age": "30 years"
  },
  "account": {
    "id": 51,
    "timezone": "America/New_York",
    "type": "free"
  },
  "connections": {
    "facebook": true
  }
}