MCPcopy
hub / github.com/blacktwin/JBOPS / notify

Method notify

reporting/weekly_stats_reporting.py:293–299  ·  view source on GitHub ↗

Call Tautulli's notify api endpoint

(self, notifier_id, subject, body)

Source from the content-addressed store, hash-verified

291 return self._call_api('get_history', payload)
292
293 def notify(self, notifier_id, subject, body):
294 """Call Tautulli's notify api endpoint"""
295 payload = {'notifier_id': notifier_id,
296 'subject': subject,
297 'body': body}
298
299 return self._call_api('notify', payload)
300
301 def _call_api(self, cmd, payload, method='GET'):
302 payload['cmd'] = cmd

Callers 1

sendMethod · 0.45

Calls 1

_call_apiMethod · 0.95

Tested by

no test coverage detected