AlertOver最好用的實時消息工具

AlertOver:

衆所周知,咱們發送接收信息的渠道大可能是Email,短信。特別是服務報警這一塊,短信 雖好,可是太貴。而AlertOver很好的解決了這個問題。python

AlertOver利用安裝,IOS,瀏覽器插件來接收信息。速度快,輕量便利。shell

 

註冊AlertOver:

首先須要註冊一個Alertover的帳號 https://www.alertover.com/api

而後在手機上下載APP應用瀏覽器

AlertOver使用:bash

1,添加組織wKioL1g_qujx4fGcAACAgDxKeC4384.png

2,以組織爲單位管理成員,發送源,接收組

添加組織而後邀請成員加入,在成員列表管理成員,並創建該組織下的發送源和接收組。curl

發送源只能通知到同一組織下的接收組和成員ide

wKioL1g_qxrzCyDDAABPwvIyxjU405.png

wKiom1g_qxqSlcGjAABquIuG1m4115.png

wKiom1g_qxnTxhVxAABvdeHxafk655.png


3,經過API來調用AlertOver發送郵件:

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"
        }
)

    wKiom1g_q8CzmuEqAABJ8AbI-S8982.png

    wKioL1g_q8DD-eGrAADNR38O-II648.png

相關文章
相關標籤/搜索