Pushover
📌 Pushover API Wrapper in Swift
Install / Use
/learn @kiliankoe/PushoverREADME
📌 Pushover
Simple little wrapper for the Pushover API. Use it to send push notifications from your tools to your or your user's devices.
Example
// Create a pushover object with your API token.
let pushover = Pushover(token: "<#API_TOKEN#>")
// Send a simple message directly.
try await pushover.send("Lorem ipsum dolor sit amet.", to: "<#USER_OR_GROUP_KEY#>")
// Use `Notification`s to use more of Pushover's features.
let notification = Notification(message: "Lorem ipsum.", to: "<#USER#>")
.devices(["iPhone"])
.url("https://example.com")
.urlTitle("Dolor sit amet")
.priority(.high)
.sound(.intermission)
do {
let response = try await pushover.send(notification)
// The request might still have failed due to a wrong API token, exceeded limits or
// other problems. Be sure to check the response value for more information.
} catch {
// An error case means that there was a network, server or decoding error.
}
Requirements
You're going to need an API token, you can register for one here.
Also please read the Being Friendly to our API section in the Pushover API docs.
Installation
Pushover is available via Swift Package Manager.
Package.swift:
.package(url: "https://github.com/kiliankoe/pushover", from: "<#latest#>")
Contributors
- Kilian Koeltzsch, @kiliankoe
- Sören Gade, @sgade
License
Pushover is available under the MIT license. See the LICENSE file for more info.
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
