Skip to main content

A simple JustWatch Python API

Project description

Simple JustWatch Python API

PyPi License Python versions CodeQL Ruff Pytest Coverage Status

A simple unofficial JustWatch Python API which uses GraphQL to access JustWatch data, available for Python 3.11+.

This project is managed by uv.

Installation

This library is available through PyPi:

pip install simple-justwatch-python-api

Documentation

Detailed documentation is available at: https://electronic-mango.github.io/simple-justwatch-python-api/.

Highlights

This Python library has multiple functions:

  • search - search for entries based on title
  • popular - get a list of currently popular titles
  • details - get details for entry based on its node ID
  • seasons - get information about all seasons of a show
  • episodes - get information about all episodes of a season
  • offers_for_countries - get offers for entry based on its node ID, can look for offers in multiple countries
  • providers - get data about available providers (e.g., Netflix)

Example outputs from all functions are in examples/ directory.

Quick example

from simplejustwatchapi import search

results = search("The Matrix", country="US", language="en", count=3)

for entry in results:
    print(entry.title, entry.object_type, len(entry.offers))

License

This library is licensed under MIT license (LICENSE or https://opensource.org/license/MIT)

Disclaimer

This library is in no way affiliated, associated, authorized, endorsed by, or in any way officially connected with JustWatch. This is an independent and unofficial project.

Use at your own risk.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simple_justwatch_python_api-1.0.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simple_justwatch_python_api-1.0.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file simple_justwatch_python_api-1.0.0.tar.gz.

File metadata

  • Download URL: simple_justwatch_python_api-1.0.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for simple_justwatch_python_api-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e4c404e2364895c7c26dfdbefb3e30c2ba524d8eb502d03aefda84de6b686f18
MD5 43aeaf668fbb716769b8a6dacd503513
BLAKE2b-256 f6fec54d02b1e4138fb6950897b8654a1aef3cf3009a7507484267362969bcf3

See more details on using hashes here.

File details

Details for the file simple_justwatch_python_api-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: simple_justwatch_python_api-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Fedora Linux","version":"43","id":"","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for simple_justwatch_python_api-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 299fc6523e6dede260cc4fd94f98501e3c5cc07308335a989dd8cfe620d7b0c8
MD5 d4e0d2bec465e3191cabf9f7370c0044
BLAKE2b-256 5b44057e73a4d892d68c521183e9163fc91f4f753bbde1149ceb6fa80c9c5a3d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page