twilio.cr alternatives and similar shards
Based on the "Third-party APIs" category.
Alternatively, view twilio.cr 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 -
crystal_slack
Parse Slack slash commands or send incoming web hooks from Crystal -
crystal-consul
Crystal client for Consul (http://www.consul.io/) -
mollie.cr
Mollie Payments API client for Crystal http://www.mollie.com -
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 -
crystal-connpass
:anchor: A Crystal wrapper for the Connpass API
Collect and Analyze Billions of Data Points in Real Time
Do you think we are missing an alternative of twilio.cr or a related project?
README
twilio.cr
Twilio API wrapper for Crystal.
Installation
- Add the dependency to your
shard.yml
:
dependencies:
twilio:
github: arubinofaux/twilio.cr
- Run
shards install
Usage
Setup Work
require "twilio"
# put your own credentials here
account_sid = "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
auth_token = "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
# set up a client to talk to the Twilio API
client = Twilio::Client.new(account_sid, auth_token)
Make a Call
client.calls.create(
from: "+15005550006",
to: "+15005550006",
url: "http://demo.twilio.com/docs/voice.xml"
)
Send an SMS
client.messages.create(
from: "+15005550006",
to: "+15005550006",
body: "Hey there!"
)
List your Messages
client.messages.list(limit: 20)
Fetch a single message by sid
# put the message sid you want to retrieve here:
message_sid = "SMxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
client.messages.fetch(message_sid)
Progress
API methods
Core
- [x] Client
Messages
[x] Create a message
[x] Fetch a message
[x] Read multiple messages
[x] Update a message
[x] Delete a message
Calls
[x] Create a call
[x] Fetch a call
[ ] Fetch call recordings
[ ] Fetch call feedback
[ ] Read multiple calls
[x] Update a call
[x] Delete a call
Development
For development, you will need API Credentials from Twilio. You can find instructions on how to acquire one for your account here.
If you found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
Contributing
- Fork it (https://github.com/arubinofaux/twilio.cr/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
Contributors
- arubinofaux - creator and maintainer