2019-04-25, 17:21
Better late than never.
I finally managed to implement the API for getting the animated gifs programmatically.
It actually works very simple. You need an API and User key, which you can find under your Account in your personal dashboard (you need to register an account).
Oh, forgot to tell...it's free. Yes, it costs absolutely nothing. No yearly fee anymore.
Use the following method:
206647 is the tmdbid for the movie Spectre (https://www.themoviedb.org/movie/206647)
Add the API and User key to your header. Here's a curl example:
It gives you the following JSON output (example of the results from an IOS call):
Simply add the base_url_posters and name together to give you the link https://www.kyradb.com/posters/w342/4bc3...2367a1.gif
You can find the documentation here: https://www.kyradb.com/api
I finally managed to implement the API for getting the animated gifs programmatically.
It actually works very simple. You need an API and User key, which you can find under your Account in your personal dashboard (you need to register an account).
Oh, forgot to tell...it's free. Yes, it costs absolutely nothing. No yearly fee anymore.
Use the following method:
206647 is the tmdbid for the movie Spectre (https://www.themoviedb.org/movie/206647)
Add the API and User key to your header. Here's a curl example:
Code:
curl -i -H "Application/json" -H "Content-type: application/json" -H "Userkey: 514b36ea1392e8ec" -H "Apikey: 3fda06118c933358f13859e05150e1f0" "https://www.kyradb.com/api10/movie/tmdbid/206647/images/animated"
It gives you the following JSON output (example of the results from an IOS call):
Code:
{
"base_url_backgrounds" = "https://www.kyradb.com/backgrounds/original";
"base_url_posters" = "https://www.kyradb.com/posters/w342";
error = 0;
message = successful;
"number_of_backgrounds" = 1;
"number_of_posters" = 3;
backgrounds = (
{
"date_added" = "2018-11-30 15:57:10";
name = "284b9e56ebd22b7a5f266aa5d3cf356a2445ae614f1cd027aa3bc9bc7e1988691.gif";
resolution = "1300 x 544";
}
);
posters = (
{
"date_added" = "2018-11-30 15:57:31";
name = "4bc3aa9ca5b71b994784bacc1668137a2f0cfa28dde594e4d6e5431ee7e2367a1.gif";
resolution = "533 x 800";
},
{
"date_added" = "2018-11-30 15:57:41";
name = "ec0600c3bb52d0ee7d400612f0509a3fe9519bdce06b2aafa6e78b42f7db85b51.gif";
resolution = "269 x 397";
},
{
"date_added" = "2018-11-30 15:57:52";
name = "7d251f3b6064176afa93b3cfa29f08e3206e628ca8d446d3a3a19a271ff9fb371.gif";
resolution = "340 x 510";
}
);
timezone = GMT;
"timezone_str" = "Europe/London";
}
Simply add the base_url_posters and name together to give you the link https://www.kyradb.com/posters/w342/4bc3...2367a1.gif
You can find the documentation here: https://www.kyradb.com/api