From c3dc1bdcb58f29064f803eeb40a12f5061fab496 Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sun, 26 Mar 2017 21:34:14 +0100 Subject: [PATCH] Added endpoints for Recommended and Similar TV shows --- lib/endpoints.json | 6 ++++++ moviedb.js | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/lib/endpoints.json b/lib/endpoints.json index ee2f59b..c0e7130 100644 --- a/lib/endpoints.json +++ b/lib/endpoints.json @@ -119,5 +119,11 @@ , "TopRatedTvs" : { "resource": "tv/top_rated", "method": "get" } , "PopularTvs" : { "resource": "tv/popular", "method": "get" } } + , "recommend" : { + "Tv" : { "resource": "tv/:id/recommendations", "method": "get" } + }, + "similar": { + "Tv": { "resource": "tv/:id/similar", "method": "get" } + } } } diff --git a/moviedb.js b/moviedb.js index 3effdd9..331c1ce 100644 --- a/moviedb.js +++ b/moviedb.js @@ -111,6 +111,13 @@ module.exports={ , "TopRatedTvs" : { "resource": "tv/top_rated", "method": "get" } , "PopularTvs" : { "resource": "tv/popular", "method": "get" } } + , "recommend": { + "Tv": { "resource": "tv/:id/recommendations", "method": "get" } + } + , + "similar": { + "Tv": { "resource": "tv/:id/similar", "method": "get" } + } } }