python - Python简单的android通知
问题描述
我正在寻找触发我的 android 的简单 python 推送通知。
我希望有一个像这样的简单库
import notif
notif.auth(bla_bla_bla)
notif.send("this message is from python")
我正在考虑使用电报,因为我看到它有点复杂,所以也许还有另一种简单的方法。
另一个支持信息:我将在我的 ubuntu 服务器上运行它。
解决方案
看看 PushBullet,它是一个在您的手机上运行的应用程序,您可以通过 API 请求触发它。
在谷歌上快速浏览后,我发现这个 Github 存储库包含看起来像一个用于发送通知的库
https://github.com/rbrcsk/pushbullet.py
使用这个,或者类似的东西可以解决你的问题
推荐阅读
- java - 检查列表Java Stream中是否存在对象
- javascript - Navigation addListener does not executes after await action
- pandas - 连接两列并在重复时保持唯一值
- google-bigquery - 从标题和详细信息表创建嵌套表
- ef-fluent-api - I have a problem with accessing additional column in intermediate table made for many-to-many relationship in entity framework
- julia - Julia 中 @with_kw 和 Base.@kwdef 的区别?
- netlogo - How do I do a SWITCH or SELECT CASE in NetLogo?
- ios - 配置文件更改时会发生什么?
- gitlab-ci - gitlab CI/CD:如何进入容器进行测试,即获取交互式外壳
- kotlin - 在字符串的情况下,Kotlin 中的引用与结构相等