This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Home
What is it?
An Python interface to http://www.themoviedb.org/ – intended to be simple and sensible to use
Docs?
Docstrings. It’s a single file, and about 160 lines in total. Basic usage is..
import tmdb
search_results = tmdb.search("the films name")
Example session:
>>> import tmdb
>>> results = tmdb.search("fight club")
>>> first_film = results[0]
>>> first_film
<Movie: Fight Club>
>>> first_film.keys()
['popularity', 'title', 'url', 'poster', 'alternative_title', 'short_overview', 'score', 'imdb', 'release', 'type', 'id', 'backdrop']
>>> first_film['title']
'Fight Club'
>>> first_film['backdrop']
<Backdrop with sizes 'mid', 'original', 'thumb'>
>>> first_film['backdrop'].keys()
['thumb', 'original', 'mid']
>>> first_film['backdrop']['original']
'http://images.themoviedb.org/backdrops/5780/tt0137523.jpg'
API utilisers
- JakeWharton / thebdmt – “Community-driven, user-editable movie and TV show torrent indexing site. Created to demonstrate Polyreviki, pyy, and PyCache.”






