Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A wrapper for The Movie Database API v3 and v4.

Project description

fulltmdb

A wrapper for The Movie Database API v3 and v4 that only uses the read access token (not api key).

Installation

Use the package manager pip to install fulltmdb.

pip install fulltmdb

Read Access Token

To use this package you will need a read access token from The Movie Database. To get one, follow these steps:

  1. Create an account on TMDB
  2. Then you can request an api key form here
  3. Once your request as been aproved you can go to here and copy the read access token at the bottom.

Basic Usage

from fulltmdb import Setup, movies

Setup.set_read_access_token('YOUR_READ_ACCESS_TOKEN')
Setup.set_cache(3600)#Set the cache expire time. If you don't want to cache then remove this line.

result = movies.popular()
#returns a dictionary object with page, results, total_results and total_pages as keys.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

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 fulltmdb, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size fulltmdb-0.1.0-py3-none-any.whl (38.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size fulltmdb-0.1.0.tar.gz (16.0 kB) File type Source Python version None Upload date Hashes View hashes

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