Skip to main content

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.

Source Distribution

fulltmdb-0.3.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fulltmdb-0.3.0-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file fulltmdb-0.3.0.tar.gz.

File metadata

  • Download URL: fulltmdb-0.3.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fulltmdb-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f14f46fb15577ce9cc654bc1ef5432fcec45ad5a02178f911df3db8bd5c46bc4
MD5 11b92685ab8b844e848ec95f0aab5f22
BLAKE2b-256 824a1ea5337e4dac2fee492fd81ea6edbfcc315c984efa87f54d597d3dc92ce0

See more details on using hashes here.

File details

Details for the file fulltmdb-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: fulltmdb-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for fulltmdb-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdbf0c0b8885cc9dcd767de4961d8984233eedd0c74ce3ec1b965b994653d1db
MD5 0a46154056673f38db57d5a5cb3c844e
BLAKE2b-256 879e37260894486f70e2af7bdb1011f687f6d49f83963c204a4592fc18afc9bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page