Skip to main content

An Python wrapper for TMDb API

Project description


A Python wrapper for TMDb API, supporting version 3

Travis Code style: black PyPI - License PyPI - Python Version PyPI GitHub commits since latest release


pip install ezapi-tmdb


git clone
export api_key="..."
export username="..."
export password="..."
cd ezapi-tmdb
python test


  1. All endpoints are mapped to funtions in a TMDb object
  2. All query string params are used keyword arguments

See documents for detailed API usage.

from tmdb import TMDb

api_key = "..."

tmdb = TMDb(api_key)

# query string params are used as keyword arguments

# create session_id with username/password login
username = "..."
password = "..."
request_token = tmdb.create_request_token().get("request_token")
tmdb.create_session_with_login(username, password, request_token)
session_id = tmdb.create_session(request_token).get("session_id")

# some endpoints require session_id

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ezapi-tmdb, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size ezapi_tmdb-0.5.0-py3-none-any.whl (25.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ezapi_tmdb-0.5.0.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page