Popularity
7.3
Declining
Activity
0.0
Declining
19
10
8
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) -
TelegramBot
(deprecated) see https://github.com/protoncr/tourmaline instead -
twitter-crystal
A library to access the Twitter API using Crystal -
open_exchange_rates
A library for Open Exchange Rates API -
crystal-consul
Crystal client for Consul (http://www.consul.io/) -
mollie.cr
Mollie Payments API client for Crystal http://www.mollie.com -
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. -
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. -
web_finger
A WebFinger (https://tools.ietf.org/html/rfc7033) client for Crystal. -
crystal-connpass
:anchor: A Crystal wrapper for the Connpass API -
fantasy_football_nerd_api
Crystal library for Fantasy Football Nerd API
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
Promo
scoutapm.com
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