yo service
Parameters
token: a token specific for each user. sha1(username + YO_APIKEY).substr(0, 16)
its submitted as html tag attribute: x-token, <html x-token="a1b5....
Get all shows compacted.
Responds with 200
[
{
"id": "tt2575988",
"imdb_id": "tt2575988",
"title": "Silicon Valley",
"rating": 7.3
},
{
"id": "tt7392128",
"imdb_id": "tt7392128",
"title": "Example",
"rating": 1.2
}
]
Get a users feed
Responds with 200
Example
[
{
"show_id": "show id",
"imdb_id": "show IMDB id",
"title": "show title",
"episode_title": "episode title",
"season": 3,
"episode": 2,
"poster": "image url",
"first_aired": "releasedate"
}
]
Get a users subscriptions
Responds 200
Example
[
{
"id": "tt2575988",
"imdb_id": "tt2575988",
"title": "Silicon Valley",
"rating": 7.3
},
{
"id": "tt7392128",
"imdb_id": "tt7392128",
"title": "Example",
"rating": 1.2
}
]
Subscribe to a new show
Request body:
{ "show_id": "tt2575988" }
Responds 201
{
"status": "ok"
}
Unsubscribe to a show
Responds 200
{
"status": "ok"
}