Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

ezapi_tmdb

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
Release History

Release History

This version
History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ezapi_tmdb-0.1.1.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Dec 25, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting