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.2.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.2.0-py3-none-any.whl (38.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fulltmdb-0.2.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fulltmdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 890c782e9536ee4d977d0de9b2bc3bd0979e8defe4f4349a588d132607364bca
MD5 fdee0dd49b34993e8289a6f358e49083
BLAKE2b-256 1fd902607f20f2d17055b3bae9cfbba91eea461f07df94ac009717aadb2970dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fulltmdb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 38.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fulltmdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a07254c075819be24fcbf37fc3c33d0c6234c151fc1860ffd355b912339659f0
MD5 562cc4c86241f83db714fb0bdd80e4e8
BLAKE2b-256 b2f4ce8e3c02857fccb6b5f0f8e661d1456f58f62d880202ef763171f4c7c34b

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