fix tmdbapis

This commit is contained in:
jxxghp
2023-07-29 13:09:36 +08:00
parent e4992ea574
commit d76fe5c039
37 changed files with 2660 additions and 28 deletions

View 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)