Skip to main content

A python module to retrieve information from Overseerr. Continued!

Project description

PyPI version

pyoverseerrcontinued

This is a project for retrieving information from an Overseerr instance using their API, this is the first project I'm taking up from someone else, as the last commit from vaparr was 3 years ago.

Installation

Run the following to install:

pip install pyoverseerrcontinued

Usage

Creating an object of your Overseerr instance

Note: You have to supply an api_key to successfully authenticate. Language parameter is optional, default is "en"

import pyoverseerr

overseerr = pyoverseerr.Overseerr(
    url="192.168.1.120:5055",
    api_key="pixf64thuh2m7kbwwgkqp52yznbj4oyo",
    language="en"
)

Authenticate

overseerr.authenticate()

Testing connection to Overseerr

try:
    overseerr.test_connection()
except pyoverseerr.OverseerrError as e:
    print(e)
    return

Retrieving data

movies = overseerr.movie_requests
tv = overseerr.tv_requests
music = overseerr.music_requests

total = overseerr.total_requests

Searching

# Searching for movies with "Movie Name on the first page"
movie_search = overseerr.search_movie("Movie Name", 1)
# Searching for movies with "TV show name on the second page"
tv_search = overseerr.search_tv("TV show name", 2)

Requesting

overseerr.request_movie("theMovieDbId")
overseerr.request_tv("theTvDbId", request_latest=True)

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

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

pyoverseerrcontinued-0.1.7.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

pyoverseerrcontinued-0.1.7-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pyoverseerrcontinued-0.1.7.tar.gz.

File metadata

  • Download URL: pyoverseerrcontinued-0.1.7.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyoverseerrcontinued-0.1.7.tar.gz
Algorithm Hash digest
SHA256 547052cef21926c1f708796ac661664dae00c0012d3d153adf864df533df7bd9
MD5 1cff5ce991cb55013ab69e9d23d5070b
BLAKE2b-256 50e1ad54035a79396d012d3ab9a81a5f19907274c5c05c3a103b099217794702

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoverseerrcontinued-0.1.7.tar.gz:

Publisher: pypi-publish.yml on hhochdev/pyoverseerrContinued

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyoverseerrcontinued-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pyoverseerrcontinued-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 38a0b3fcbf041a70ae42104d4a6fe45bb965cdcf6dddc16b9cfdb954cf26b8aa
MD5 633c4541683e7667e12280c11b80a68a
BLAKE2b-256 9bd309355fdba00a17bb38a220e64d9343e2f9aba6c719c7a421b9d8b512cc48

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyoverseerrcontinued-0.1.7-py3-none-any.whl:

Publisher: pypi-publish.yml on hhochdev/pyoverseerrContinued

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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