We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f22a92 commit 4d2bd6bCopy full SHA for 4d2bd6b
lib/themoviedb/movie.rb
@@ -5,6 +5,7 @@ class Movie < Resource
5
# http://docs.themoviedb.apiary.io/#movies
6
@@fields = [
7
:adult,
8
+ :external_ids,
9
:backdrop_path,
10
:belongs_to_collection,
11
:budget,
@@ -99,6 +100,12 @@ def self.crew(id, _conditions = {})
99
100
search.fetch_response["crew"]
101
end
102
103
+ # Get the external ids for a specific movie id
104
+ def self.external_ids(id, _conditions = {})
105
+ search = Tmdb::Search.new("/#{endpoints[:singular]}/#{endpoint_id + id.to_s}/external_ids")
106
+ search.fetch_response
107
+ end
108
+
109
# Get the images (posters and backdrops) for a specific movie id.
110
def self.images(id, _conditions = {})
111
search = Tmdb::Search.new("/#{endpoints[:singular]}/#{endpoint_id + id.to_s}/images")
0 commit comments