Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Library providing useful tools for The Movie Database (TMDb). Not dependent on API-keys.
Python library providing useful tools for The Movie Database (TMDb) without depending on API-Keys
pip install themoviedb-lib
Or if you have multiple Python / pip versions installed, use pip3
:
pip3 install themoviedb-lib
Simple usage examples:
import tmdb
# Search for 'Star Wars' movies and TV shows
search_results = tmdb.API.search(query="Star Wars")
# Display search results on the screen
for result in search_results:
print(result)
# Download poster images for the search results
posters = []
for result in search_results:
posters.append(result.poster())
# Display movies on the screen
for result in search_results:
if result.is_movie():
print(result)
# For every TV show display the episodes for the first season on the screen
for result in search_results:
if result.is_tv() and "1" in result.seasons():
print(result.episodes(season_id="1"))
Method | Description |
---|---|
tmdb.API.search() | Search for movies and TV shows |
tmdb.API.languages() | Get a list of languages supported by TMDb |
tmdb.API.categories() | Get a list of categories supported by TMDb |
tmdb.API.poster_path() | Generate a poster path for a movie / TV series |
tmdb.API.TV.seasons() | Get a list of seasons for a TV series |
tmdb.API.TV.number_of_seasons() | Get the season count for a TV series |
tmdb.API.TV.episodes() | Get a list of episodes for a TV series season |
tmdb.API...() | MORE UTILITIES COMING SOON |
FAQs
Library providing useful tools for The Movie Database (TMDb). Not dependent on API-keys.
We found that themoviedb-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.