-
Notifications
You must be signed in to change notification settings - Fork 0
kimenye/africastalking
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Ruby API for connecting to AfricasTalking Gateway ================================================= Based on: 1. https://api.africastalking.com/tutorials/index/phpget 2. https://api.africastalking.com/tutorials/index/phppost 3. https://api.africastalking.com/tutorials/index/viewphpsource Requires the following gems: 1. curb Sending SMS =========== valid_api = AfricasTalkingGateway.new(valid_username, valid_api_key) status = valid_api.send_message("+2547771234567,+2547771234568,+2547771234569", "Hello world") Receiving SMS ============= valid_api = AfricasTalkingGateway.new(valid_username, valid_api_key) messages = valid_api.fetch_messages(0) Look at the spec file for more examples of how to read the responses. You need to include your valid username and api key for the tests to run successfuly.
About
Ruby translation of the API to call the AfricasTalking web service
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published