rocketchat-rest-client clojure library
[missile "0.1.0-SNAPSHOT"]
You can choose to Initialize the missile
library with: 1) a file.edn or 2) user-paramter.
from a file:
(missile.config/set-config-from-file "path-config-file.edn")
have a look at (resource for a valid template of the file.
from an input parameter:
(missile.config/set-config-from-input {:username "foo2" :server-url "myserver" :token "foo"})
*) a function for passing user/pwd is on wip
(missile.channels/list!)
for listing all rocket-chat server channelsUnder active devel
Supprted calls ordered by namespace
https://rocket.chat/docs/developer-guides/rest-api/channels/
/api/v1/channels.list
(missile.channels/list!)
create a .missile.edn
with {:credentials {:username "my-user-name" :server-url "https://server-url.com" :token "my-token"}}
Use lein repl
(missile.config/read-config-file "path-config-file.edn")
loading credentials (user/server/token)
(missile.channels/list!)
for listing all rocket-chat server channels
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close