众所周知,咱们发送接收信息的渠道大可能是Email,短信。特别是服务报警这一块,短信 虽好,可是太贵。而AlertOver很好的解决了这个问题。python
AlertOver利用安装,IOS,浏览器插件来接收信息。速度快,轻量便利。shell
首先须要注册一个Alertover的帐号 https://www.alertover.com/api
而后在手机上下载APP应用浏览器
AlertOver使用:bash
添加组织而后邀请成员加入,在成员列表管理成员,并创建该组织下的发送源和接收组。curl
发送源只能通知到同一组织下的接收组和成员ide
source为发送源管理-发送源IDpost
receiver为接受组管理-接受组IDurl
content为通知内容spa
title 邮件通知标题
shell命令行发送通知:
curl -s \ --form-string "source=xxxxxxxx" \ --form-string "receiver=xxxxxxxx" \ --form-string "content=hello world" \ --form-string "title=hello" \ https://api.alertover.com/v1/alert
python:
import requests requests.post( "https://api.alertover.com/v1/alert" data={ "source": "xxxxxxxx", "receiver": "xxxxxxxx", "content": "hello world", "title": "hello" } )