Popularity
7.6
Declining
Activity
0.0
Stable
20
14
9
Programming language: Crystal
License: MIT License
Tags:
Third-party APIs
Latest version: v0.10.0
crystal_slack alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view crystal_slack alternatives based on common mentions on social networks and blogs.
-
discordcr
Minimalist Discord library for Crystal. (Still WIP, but usable) -
twitter-crystal
A library to access the Twitter API using Crystal -
TelegramBot
(deprecated) see https://github.com/protoncr/tourmaline instead -
mollie.cr
Mollie Payments API client for Crystal http://www.mollie.com -
crystal-consul
Crystal client for Consul (http://www.consul.io/) -
open_exchange_rates
A library for Open Exchange Rates API -
aws-signer.cr
This library signs your HTTP requests using AWS v4 -
GDAX
📈 GDAX REST and WebSocket API wrapper to trade blockchain cryptocurrencies like bitcoin, Litecoin and Ethereum. -
web_finger
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal. -
soundcloud-crystal
A library to access the SoundCloud API using Crystal -
bugsnag.cr
bugsnag exception notifier written in crystal. Supports sidekiq.cr, kemal, HTTP::Server. -
host_meta
A Web Host Metadata (https://tools.ietf.org/html/rfc6415) client for Crystal. -
fantasy_football_nerd_api
Crystal library for Fantasy Football Nerd API
Learn any GitHub repo in 59 seconds
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
Promo
getonboard.dev
Do you think we are missing an alternative of crystal_slack or a related project?
README
crystal_slack
Access Slack API's using Crystal.
Shards
slack:
github: "manastech/crystal_slack"
Usage
You can get a Slack::SlashCommand from an HTTP::Request or its body:
require "slack"
request = HTTP::Request.new "POST", "/", body: "token=..."
command = Slack::SlashCommand.from_request(request)
puts command.text
You can create a message and send it using either webhooks or the chat.postMessage
API:
require "slack"
message = Slack::Message.new("some_text", channel: "some_channel")
# send to webhook
message.send_to_hook "https://hooks.slack.com/services/..."
# send using the chat.postMessage API
api = Slack::API.new "some_token"
api.post_message(message)
More complex messages are supported. Please check the Message class. You can also get the users and channels given an token.
Todo
Lots of API methods are missing!
Contributing
- Fork it ( https://github.com/manastech/crystal_slack/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request