为您的python项目集成uptime robot http://uptimerobot.com。有一个django版本(https://github.com/arteria/django-uptime robot)可供使用,其中包含了uptime robot api实现和djangonauts使用的基础设施。
python-uptimerobot的Python项目详细描述
python的正常运行时间robot集成
==
python项目的正常运行时间robot http://uptimerobot.com集成。
有一个django版本(https://github.com/arteria/django-uptime robot)可供使用,其中包含了正常运行时间robot api
实现和djangonauts使用的基础设施内容。
代码块::bash
$pip安装python uptimerobot
代码块::bash
$pip install-e git+git://github.com/arteria/python uptimerobot.git=uptimerobot
代码块::python
>;>from uptime robot.uptimerobot import uptimerobot
>;>up=uptimerobot(uptime_robot_api_key)
>;>up.addmonitor(“arteria网页”,“https://www.arteria.ch/”)
true
代码块::bash
cd/path/to/script/
chmod 755 uptimerobot.py如果需要的话
./uptimerobot.py monitorFriendlyName=arteria网页monitorURL=https://www.arteria.ch/
history
----
latest
0.1.4
-extended api with`.editMonitor()`.
-更新为使用https by
<0.1.3
-扩展api的`.deletemonitorbyid()`.
>0.1.1
-扩展api的`.getmonitotorbyid()`.
全面支持3.x
API文档如下:https://uptimerobot.com/api
==
python项目的正常运行时间robot http://uptimerobot.com集成。
有一个django版本(https://github.com/arteria/django-uptime robot)可供使用,其中包含了正常运行时间robot api
实现和djangonauts使用的基础设施内容。
代码块::bash
$pip安装python uptimerobot
代码块::bash
$pip install-e git+git://github.com/arteria/python uptimerobot.git=uptimerobot
代码块::python
>;>from uptime robot.uptimerobot import uptimerobot
>;>up=uptimerobot(uptime_robot_api_key)
>;>up.addmonitor(“arteria网页”,“https://www.arteria.ch/”)
true
代码块::bash
cd/path/to/script/
chmod 755 uptimerobot.py如果需要的话
./uptimerobot.py monitorFriendlyName=arteria网页monitorURL=https://www.arteria.ch/
history
----
latest
0.1.4
-extended api with`.editMonitor()`.
-更新为使用https by
<0.1.3
-扩展api的`.deletemonitorbyid()`.
>0.1.1
-扩展api的`.getmonitotorbyid()`.
全面支持3.x
API文档如下:https://uptimerobot.com/api