SignalWire-RestAPI version 1.4
===========================

SignalWire::RestAPI is a flexible, extensible API for SignalWire written in
Perl. It's primary objective is reliability and robustness for
SignalWire's RESTful API. The module should survive any future updates to
the API without any changes whatsoever.

Make any SignalWire API call in two lines of code:

    ## make a SignalWire object
    my $signalwire = new SignalWire::RestAPI( AccountSid => '(PROJECT KEY)',
                                     AuthToken  => '(TOKEN)',
				     API_URL    => 'https://SPACE.signalwire.com');

    ## retrieve calls I've made
    $response = $signalwire->GET('Calls');

    ## place a new call to 801-123-5555 from 403-123-1234
    $response = $signalwire->POST('Calls',
                              From => '4031231234',
                              To   => '8011235555',
                              Url  => 'http://example.org/cgi-bin/signalwire');

    ## see account information
    $response = $signalwire->GET('Accounts');

    ## see details for a specific call
    $response = $signalwire->GET('Calls/CA42ed11f93dc08b952027ffbc406d0868');

    ## send an SMS message
    $response = $signalwire->POST( 'Messages',
                               From => $from,
                               To   => $to,
                               Body => $body );

INSTALLATION

To install this module type the following:

    perl Makefile.PL
    make
    make test
    make install

DEPENDENCIES

This module requires these other modules and libraries:

    LWP::UserAgent
    Crypt::SSLeay
    URI::Escape

COPYRIGHT AND LICENCE

Copyright (C) 2009-2016 by Scott Wiersdorf

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself, either Perl version 5.8.1 or,
at your option, any later version of Perl 5 you may have available.