Code Monkey home page Code Monkey logo

twilio-java's Introduction

Java Twilio SDK

DESCRIPTION

The Twilio SDK serves two purposes

  • simplifies the process of makes calls to the Twilio REST.
  • facilitates creation of TwiML with a Response Library

The Twilio REST API lets to you initiate outgoing calls, list previous call, and much more.

See http://www.twilio.com/docs for more information.

BUILDING LIBRARY

First, review the TwilioRestExample.java file, entering in your AcountSid, AccountToken, and the other test data you would like to use (callSid's, phone numbers, etc). Next, you will need to build the twiliorest.jar file. If you are using ANT, use the 'jar' target to generate the twiliorest.jar file. There is also a build.sh file to compile the source and generate the jar file without requiring ant.

USING REST API

Example code can be found in TwilioRestExample.java To run the example code type: java -cp twiliorest.jar:lib/commons-codec-1.3.jar com.twilio.sdk.TwilioRestExample

USING TWIML RESPONSE LIBRARY

Example code can be found in TwiMLResponseExample.java To run the example code type: java -cp twiliorest.jar:lib/commons-codec-1.3.jar com.twilio.sdk.verbs.TwiMLResponseExample

FILES

  • src: the java source files for the example and Twilio rest api.
  • lib: the library directory with a copy of the apache commons codec library
  • build.xml: ANT build file for building the twiliorest.jar file
  • build.sh: alternate build script for users without ANT.

LICENSE

The Twilio SDK is distributed under the MIT License. Please see the included license

twilio-java's People

Contributors

andrewmbenton avatar csaken avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.