Skip to content

A simple, pythonic interface to the UptimeRobot-API

Notifications You must be signed in to change notification settings

Thor77/UptimeRobotPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UptimerobotPy

A simple, pythonic interface to the UptimeRobot-API

Installation

python setup.py install

Example

>> from uptimerobot import Acccount
>> a = Account('API_KEY')
>> a
your@mail.com
>> a.monitors
[Monitor 1 (1234) <up>, Monitor 2 (5678) <down>]
>> alert_contacts = a.alert_contacts
>> alert_contacts
[Mail 1 (1234) <active>, Mail 2 (5678) <paused>]
>> alert_contacts[0].value
your@mail.com
>> filter(lambda ac: ac.status, alert_contacts))
[Mail 1 (1234) <active>]

About

A simple, pythonic interface to the UptimeRobot-API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages