衆所周知,咱們發送接收信息的渠道大可能是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" } )