This is a Clojure library to talk to the Pushover API. It uses Martian to build the requests.
Include it in your project:
{:deps {com.monkeyprojects/pushover-clj {:mvn/version 0.1.0-SNAPSHOT}}}
The functionality can be found in namespace monkey.pushover.core
. First create a client,
then invoke the post-message
function:
(require '[monkey.pushover.core :as p])
;; Create a client with default opts
(def client (p/make-client {}))
;; Post a message
(p/post-message client {:token "secret-app-token"
:user "dest-user-id"
:message "Hi, this is a message from pushover-clj"!})
We use HttpKit as a backend so the requests
return a future. It's up to you to defer
it or do something else with it.
Copyright (c) 2024 by Monkey Projects BV
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close