Swiftpack.co -  kiliankoe/pushover as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
📌 Pushover API Wrapper in Swift
.package(url: "https://github.com/kiliankoe/pushover.git", from: "0.2.0")

📌 Pushover

Simple little wrapper for the Pushover API. Use it to send push notifications from your tools to your or your user's devices.


// Create a pushover object with your API token.
let pushover = Pushover(token: "YOUR_TOKEN")

// Send a simple message directly.
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")
    .urlTitle("Dolor sit amet")


// Use the callback to define actions based on error or success cases.
pushover.send(notification) { result in
    // A .success result case means that there were no network, server or decoding errors.
    // 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.


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.


Pushover is available via Swift Package Manager.


.package(url: "https://github.com/kiliankoe/pushover", from: "<#latest#>")


Kilian Koeltzsch, @kiliankoe


Pushover is available under the MIT license. See the LICENSE file for more info.


Stars: 5
Last commit: 1 year ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API