Skip to main content

A python module to retrieve information from Ombi.

Project description

PyPI version

pyombi

This is a project for retrieving information from an Ombi instance using their API.

Installation

Run the following to install:

pip install pyombi

Usage

Creating an object of your Ombi instance

hello = Ombi(
    ssl=True,
    host="192.168.1.120",
    port="5000",
    api_key="pixf64thuh2m7kbwwgkqp52yznbj4oyo",
)

Testing connection to Ombi

res = hello.test_connection()

if res == "200":
    print("Success!")
else:
    print(res)

Updating stored data

hello.update()

Retrieving data

movies = hello.movie_requests
tv_shows = hello.tv_requests

pending = hello.pending_requests

recent_movies = hello.recently_added_movies
recent_tv = hello.recently_added_tv

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

pyombi-0.0.5.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

pyombi-0.0.5-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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