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.40.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file pyoverseerr-0.1.40.tar.gz
.
File metadata
- Download URL: pyoverseerr-0.1.40.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7b47d3910f864c4e0caafe640c0c061234f09a161d3a5a46a948fe4468c3ea0 |
|
MD5 | a59191e1db0ddc64b2253359929c14ba |
|
BLAKE2b-256 | 4e1216961f9dbb54a3fd55c6b4fa04ad81af624fc0224edf4ada29be4f13dca5 |
File details
Details for the file pyoverseerr-0.1.40-py3-none-any.whl
.
File metadata
- Download URL: pyoverseerr-0.1.40-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 207c46373e1a52a47093ef40a7747c7b3aea1b8e41f045b653b96b7786dffe49 |
|
MD5 | 94be1c7de333cd0afb2f96b078cc609f |
|
BLAKE2b-256 | f7e7c2e970b47af9d2d1ba1fa3995aec1b4cfb37a2de9bb3b450c16d2bb6d93b |