themoviedb 0.0.23 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/themoviedb/person.rb +26 -2
- data/lib/themoviedb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZGY5ZjljMTFhYzE4ZjNmNzYyZTg0MmY0MmQxOGUyMzEyNGZmNDIxOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWYzYmJlZDZlNjQ2NGQ2M2ZiNDk1MjAwZjc5ZjkwMjM4Y2E4MmZhMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzJhOGE3ZmM2ZGQxYTI1MzY3ZmI3YmI5YTVlYzlkMDAxYjExMjBiYzZlMjQ5
|
10
|
+
OGUzNzZiMzk4Yjg5MDA0N2M2NWI5ZmNlMGYxMjA3YTEwYmI2ZTI1NTAwMTQy
|
11
|
+
MDg0YTAwMjU2N2JmZDBkOWEzOWU5YWIwZjJlMTdlYzk0YTA2NmM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTAyOTQ0Mjk2ZDBjMzU5ZWQ3NGVlY2UxN2NkOTE5ZTJkNmUwMGQ0MDU1N2Iy
|
14
|
+
YzAyNDQxYTI0YWRkZDJlYjA3MTFiMmYwZDNmOWEzNjY5MTcwNTVlYmEwZDdm
|
15
|
+
MjdhMDVkNTZhODgzZTdmNWEzZWQ4YTY2Zjg1M2ZiMTY1NTE1ZWI=
|
data/lib/themoviedb/person.rb
CHANGED
@@ -37,9 +37,27 @@ module Tmdb
|
|
37
37
|
search.fetch_response
|
38
38
|
end
|
39
39
|
|
40
|
-
#Get the credits for a specific person id.
|
40
|
+
#Get the combined credits for a specific person id.
|
41
41
|
def self.credits(id, conditions={})
|
42
|
-
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/
|
42
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/combined_credits")
|
43
|
+
search.fetch_response
|
44
|
+
end
|
45
|
+
|
46
|
+
#Get film credits for a specific person id.
|
47
|
+
def self.movie_credits(id, conditions={})
|
48
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/movie_credits")
|
49
|
+
search.fetch_response
|
50
|
+
end
|
51
|
+
|
52
|
+
#Get TV credits for a specific person id.
|
53
|
+
def self.tv_credits(id, conditions={})
|
54
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/tv_credits")
|
55
|
+
search.fetch_response
|
56
|
+
end
|
57
|
+
|
58
|
+
#Get external ID's for a specific person id.
|
59
|
+
def self.external_ids(id, conditions={})
|
60
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/external_ids")
|
43
61
|
search.fetch_response
|
44
62
|
end
|
45
63
|
|
@@ -49,6 +67,12 @@ module Tmdb
|
|
49
67
|
search.fetch_response
|
50
68
|
end
|
51
69
|
|
70
|
+
#Get the tagged images for a specific person id.
|
71
|
+
def self.tagged_images(id, conditions={})
|
72
|
+
search = Tmdb::Search.new("/#{self.endpoints[:singular]}/#{self.endpoint_id + id.to_s}/tagged_images")
|
73
|
+
search.fetch_response
|
74
|
+
end
|
75
|
+
|
52
76
|
#Get the changes for a specific person id.
|
53
77
|
#Changes are grouped by key, and ordered by date in descending order.
|
54
78
|
#By default, only the last 24 hours of changes are returned.
|
data/lib/themoviedb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: themoviedb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmet Abdi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|