twilio.cr
twilio.cr - A library to access the Twilio API
Installation
Add this to your application's shard.yml
:
dependencies:
twilio:
github: bitstopco/twilio.cr
In your terminal run:
shards install
Usage
After the installation, you can use twilio.cr by creating a client object:
require "twilio"
account_sid = "your_account_sid"
auth_token = "your_auth_token"
client = Twilio::Client.new(account_sid, auth_token)
All the necessary keys can be viewed in the dashboard.
Send and SMS
#client.messages_create(from, to, message)
client.messages_create("+16105557069", "+14159341234", "Hey there!")
Contributing
- Fork it (https://github.com/bitstopco/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 arubinofaux - creator, maintainer
Repository
twilio.cr
Owner
Statistic
- 3
- 3
- 0
- 0
- 1
- almost 6 years ago
- July 11, 2018
License
MIT License
Links
Synced at
Mon, 29 Apr 2024 17:16:03 GMT
Languages