Permalink
Browse files

updating again the readme file

  • Loading branch information...
1 parent 0ec4d81 commit 53fb0892db487061c06fa43ba8b8283d9751fd4c @t1gr0u committed Mar 1, 2013
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
@@ -11,5 +11,17 @@ Demo controller in 'controllers' folder
## Install
Copy the files into the appropriate folders apart from the controller unless you want to try it.
+Then you need to add you *account_sid* and *auth_token* in the config file.
+
+Call the library in your code:
+
+`$this->load->library( 'twilio_services' );`
+
+Now you can call any Twilio API ([Api Doc](https://www.twilio.com/docs/api/rest))
+
+`$call = $this->twilio_services->account->calls->get("CA42ed11f93dc08b952027ffbc406d0868");
+print $call->to;`
+
+
## Info
I'm using the new Twilio library which can be found here: [https://github.com/twilio/twilio-php](https://github.com/twilio/twilio-php)

0 comments on commit 53fb089

Please sign in to comment.