fix tmdbapis
This commit is contained in:
15
app/modules/themoviedb/tmdbv3api/objs/credit.py
Normal file
15
app/modules/themoviedb/tmdbv3api/objs/credit.py
Normal file
@ -0,0 +1,15 @@
|
||||
from ..tmdb import TMDb
|
||||
|
||||
|
||||
class Credit(TMDb):
|
||||
_urls = {
|
||||
"details": "/credit/%s"
|
||||
}
|
||||
|
||||
def details(self, credit_id):
|
||||
"""
|
||||
Get a movie or TV credit details by id.
|
||||
:param credit_id: int
|
||||
:return:
|
||||
"""
|
||||
return self._request_obj(self._urls["details"] % credit_id)
|
Reference in New Issue
Block a user