A python module to retrieve information from Overseerr.
Project description
pyoverseerr
This is a project for retrieving information from an Overseerr instance using their API.
Installation
Run the following to install:
pip install pyoverseerr
Usage
Creating an object of your Overseerr instance
Note: You have to supply an api_key
to successfully authenticate.
import pyoverseerr
overseerr = pyoverseerr.Overseerr(
ssl=True,
host="192.168.1.120",
port="5000",
urlbase="overseerr/",
api_key="pixf64thuh2m7kbwwgkqp52yznbj4oyo"
)
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
movie_search = overseerr.search_movie("Movie Name")
tv_search = overseerr.search_tv("TV show name")
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyoverseerr-0.1.22.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for pyoverseerr-0.1.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1c3d10e28805b573c63c081e26a916881ae717d6d134d57411a8ed5c222a9d |
|
MD5 | 07c2b52a85b3c7f2f733f88803969059 |
|
BLAKE2b-256 | a988de0f86246902b4ec95666ac8386f974973c14f71837f202b98252ce44404 |