Skip to main content

A small TMDB (themoviedatabase) API v3 wrapper for Django.

Project description

=====
django-tmdb
=====

A small TMDB (themoviedatabase) API v3 wrapper for Django


Requirements
-----------
1. Python module "requests"

2. TMDB Api Key

Quick start
-----------

1. Install "requests" (e.g. with pip install requests)
2. Add "tmdb" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'tmdb',
)

3. Set TMDB_API_KEY in your settings.py

TMDB_API_KEY = 'yourtmdbapikey'

4. Import the wrapper where needed (e.g. in your views.py)

from tmdb import TMDB

5. Create the instance

tmdb = TMDB()

6. Use the wrapper functions

movie_info = tmdb.getMovieInfo(tmdb_id, 'en')

Project details


Release history Release notifications

This version
History Node

0.1

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
django-tmdb-0.1.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None

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