fixed clean_check of server_ids, fixed under-indented radarr get_movie,
and added __repr__ for cleaner logging
This commit is contained in:
parent
87fea6db06
commit
18a5fdacba
8 changed files with 50 additions and 17 deletions
|
@ -14,6 +14,9 @@ class OmbiAPI(object):
|
|||
self.session = Session()
|
||||
self.session.headers = {'Apikey': self.server.api_key}
|
||||
|
||||
def __repr__(self):
|
||||
return "<ombi-{}>".format(self.server.id)
|
||||
|
||||
def get_total_requests(self):
|
||||
self.now = datetime.now(timezone.utc).astimezone().isoformat()
|
||||
tv_endpoint = '/api/v1/Request/tv'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue