All Projects → dawoudt → Justwatchapi

dawoudt / Justwatchapi

Licence: mit
Python 3 JustWatch.com API - https://justwatch.com

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Justwatchapi

Booking Seats Layout Sample
A sample that shows how to create a dynamic layout for booking seats
Stars: ✭ 79 (-46.62%)
Mutual labels:  movie
Imdb Party
IMDB client using the IMDB API that their iPhone app uses
Stars: ✭ 115 (-22.3%)
Mutual labels:  movie
Subify
Subify - Download subtitles for your favorite TV shows and movies
Stars: ✭ 135 (-8.78%)
Mutual labels:  movie
Namava Downloader
Download movies from `namava.ir` website. | لینک جایگزین جهت احتیاط: https://gitlab.com/NabiKAZ/namava-downloader
Stars: ✭ 89 (-39.86%)
Mutual labels:  movie
Jupytergraffiti
Create interactive screencasts inside Jupyter Notebook that anybody can play back
Stars: ✭ 114 (-22.97%)
Mutual labels:  movie
Moviecontentfilter
Watch movies with the freedom (not) to filter
Stars: ✭ 126 (-14.86%)
Mutual labels:  movie
Timelapsebuilder Swift
Build a movie from jpeg images in Swift using AVFoundation
Stars: ✭ 72 (-51.35%)
Mutual labels:  movie
Popularmovies
🎥 Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.
Stars: ✭ 142 (-4.05%)
Mutual labels:  movie
Douban Movie
Golang爬虫 爬取豆瓣电影Top250
Stars: ✭ 114 (-22.97%)
Mutual labels:  movie
Sbplayer ios
基于AVPlayer封装的轻量级播放器,可播放本地及网络视频,易于定制
Stars: ✭ 134 (-9.46%)
Mutual labels:  movie
Movie android flutter
A sample movie app, developed on flutter, then on android
Stars: ✭ 90 (-39.19%)
Mutual labels:  movie
Movienet Tools
Tools for movie and video research
Stars: ✭ 113 (-23.65%)
Mutual labels:  movie
Kinopoiskpy
Python API to kinopoisk.ru
Stars: ✭ 126 (-14.86%)
Mutual labels:  movie
Bazarr
Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you.
Stars: ✭ 1,248 (+743.24%)
Mutual labels:  movie
Kotlinffmpeg
Examples of using FFMpeg library on Android with Kotlin
Stars: ✭ 138 (-6.76%)
Mutual labels:  movie
Bandersnatch
Black Mirror: Bandersnatch, HTML5 interactive version
Stars: ✭ 74 (-50%)
Mutual labels:  movie
Flutter Movies4u
Movies4u app UI is simple enough to use and the app is a fun way to get an overview of your movie experience. This repo created with help of awesome UI, material Design and latest feature. this repo contain major feature like : dark theme.
Stars: ✭ 116 (-21.62%)
Mutual labels:  movie
Kinobot
Aesthetically perfectionist bot for cinephiles
Stars: ✭ 144 (-2.7%)
Mutual labels:  movie
Movie Board
Re-design and implement Douban Movie with React and Redux.
Stars: ✭ 140 (-5.41%)
Mutual labels:  movie
Flinck
Sort your movies on filesystem by dates, ratings, etc using symlinks.
Stars: ✭ 127 (-14.19%)
Mutual labels:  movie

Unofficial JustWatch API

Build Status

JustWatch.com Python 3 API

Install

python3 -m pip install JustWatch

Disclaimer

This is not the official JustWatch API. JustWatch doesn't offer an open API and doesn't plan to do this in the future.

The work of many developers went and is still going into the development and maintenance of the data and the API. JustWatch's main business is to operate a streaming guide with apps for iOS and Android. They offer the data for business intelligence and marketing. Therefore it is prohibited to use the API for commercial use (consumer service, data science, business intelligence, etc.). It is ok to use the API for private projects, but please be respectful with your API calls to not put too much load on the API. The API is not supported in any way and will change frequently without warning.

If you would like to work with JustWatch and use the data/API please get in contact with them via [email protected]. Currently, JustWatch can only work with bigger partners and clients. JustWatch is also hiring: https://www.justwatch.com/us/talent and has some interesting open source projects:

How To

search for an item

from justwatch import JustWatch

just_watch = JustWatch(country='US')

results = just_watch.search_for_item(query='the matrix')

or search for combination of genres

just_watch = JustWatch(genres=['act', 'scf', 'hrr'])

results_by_genres = just_watch.search_for_item()

or maybe search by provider

just_watch = JustWatch()

results_by_providers = just_watch.search_for_item(providers=['nfx', 'stn'])

or possibly a combination of the above

just_watch = JustWatch()

results_by_multiple = just_watch.search_for_item(
    providers=['nfx', 'stn'], 
    content_types=['movie'], 
    monetization_types=['free'])

search for a person

just_watch = JustWatch()
results = just_watch.search_for_item(query="Keanu Reeves",
    content_types=['person'])

search for items of a person

just_watch = JustWatch()
titles_person = just_watch.search_for_item(person_id=3036)

get list of genres and codes

just_watch = JustWatch(country='GB')
genre_details = just_watch.get_genres()

get list of providers for a country

just_watch = JustWatch(country='DE')
provider_details = just_watch.get_providers()

get further details on a movie or tv program

Based on title id found in previous search

just_watch = JustWatch(country='GB')
megamind = just_watch.get_title(title_id=103561)
dark = just_watch.get_title(title_id=55668, content_type='show')

You can query for title IDs

just_watch = JustWatch(country='GB')
the_matrix = just_watch.get_title_id(query='the matrix')

{'The Matrix': 10, 'The Matrix Revisited': 30701, ...}

get further defails on a specific season of a tv program

season_id can be found in the response from get_title of a tv program

just_watch = JustWatch(country='GB')
hannibal_season2 = just_watch.get_season(season_id=20236)

get country specific certification details

just_watch = JustWatch(country='GB')
certs = just_watch.get_certifications()

content_type can be specified but (for GB at least) setting to 'show' gives less detail than the default of 'movie'

get cinema details

Setting "monetization_types" to "cinema" and possibly setting nationwide_cinema_releases_only = True will return a list of potential showings.

just_watch = JustWatch(country='GB')
cinema_showings = just_watch.search_for_item(monetization_types='cinema')

Then based on title_id obtained from that search

cinema_times = just_watch.get_cinema_times(title_id=this_title_id,
                                           date='2018-03-24',
                                           latitude=51.5287718,
                                           longitude=-0.2416809,
                                           radius=20000)

This will return details of all the showings in the area. Details of all the cinemas in the area can be obtained by a call to get_cinema_details(). This takes the same latitutde, longitude and radius parameters as get_cinema_times(), and if a call has already been made they'll be reused.

local_cinemas = just_watch.get_cinema_details()

You can then join the data from the two calls by joining 'cinema_id' from get_cinema_times() with 'id' from get_cinema_details()

get upcoming cinema details

Call get_upcoming_cinema() with number of weeks forward or back and whether you only require national releases

showings_last_week = just_watch.get_upcoming_cinema(weeks_offset=-1, nationwide_cinema_releases_only=True)
showings_three_weeks = just_watch.get_upcoming_cinema(weeks_offset=3, nationwide_cinema_releases_only=False)

get person details

        just_watch = JustWatch()
        person_detail = just_watch.get_person_detail(3036)
Notes:
  • Default country is AU
  • person_id is a justwatch specific id and does not work with imdb or tmdb ids. You can get the person_id for example from the credits of a title or from search.

Read api_payload.txt for more information

Contributions

Contributions are welcome!

Please write unit tests for any new functionality :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].