Asynchronous API wrapper for TMDb (https://www.themoviedb.org/).
Project description
Asynchronous API wrapper for TMDb.
Usage
atmdb can be installed from PyPI using pip:
pip install atmdb
The core TMDbClient must be instantiated with a valid API token (see the API FAQ for more information):
from atmdb import TMDbClient client = TMDbClient(api_token='<insert your token here>')
You can then access the API by calling asynchronous helper methods on the client instance:
movie = await client.get_movie(550) assert movie.title == 'Fight Club'
Documentation
Documentation is available on PythonHosted.
Testing
You can run the tests with python setup.py test. To include the integration suite, ensure that the environment variable TMDB_API_TOKEN is set to a valid API token.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atmdb-0.0.3-py3-none-any.whl.
File metadata
- Download URL: atmdb-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8c0a38c8b9d60accf6cc2e04f152eb34192c0f1c171c8fa6ea1cc730328250d
|
|
| MD5 |
23cbef3dd9dbb29b1e00445da8aee148
|
|
| BLAKE2b-256 |
0f98819901420aabcd7fd372d1ef203785a7958dec76d431e7b87eb8f73b1dc8
|