Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fulltmdb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fulltmdb

A wrapper for The Movie Database API v3 and v4.

  • 0.3.0
  • PyPI
  • Socket score

Maintainers
1

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc