Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

An easy api for TMDb (themoviedb.org) written in Python

Project description

ezapi_tmdb

Build Status PyPI1 PyPI2

An easy api for TMDb (themoviedb.org) written in Python

It implements the api provided by TMDb. For details, see http://docs.themoviedb.apiary.io/#

Install

pip install ezapi_tmdb

Usage

from ezapi_yelp import EZapiTMDb

api_key = 'YOUR api_key'
test_api = EZapiTMDb(api_key)

# Simple examples

print test_api.configuration()

for t in test_api.category_certifications:
    print test_api.certifications(t)

for t in test_api.category_changes:
    print test_api.changes(t)

for t in test_api.category_discover:
    print test_api.discover(t)

for t in test_api.category_genres:
    print test_api.genres(t)

print test_api.jobs()

print test_api.timezones()

print test_api.search('movie',query='star war')

print test_api.search('person',query='matt damon')

print test_api.search('tv',query='big bang')

print test_api.detail('tv',1418)

print test_api.detail('tv',1418,'credits')

Changelist

  • 2015/12/24
    • Multiple “GET” api: configuration, certifications, changes, discover, genres, jobs, timezones
    • Also the search api
      • category: company, collection, keyword, list, movie, multi, person, tv
      • api usage: .search(category, query=”some key words”)
    • And detail for a search result, such as:
      • /tv/id and /tv/id/changes
      • /person/id and /person/id/tv_credits

TODO

  • api that requires session_id
  • unit tests

Project details


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ezapi_tmdb-0.1.1.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Dec 25, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page