Client library generator for the REST API provided by Asterisk's res_http_stasis.
Python Perl JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
javascript
lib
perl
test_resources
.gitignore
LICENSE
README
generate_library.py
test_api_calls.pl
test_api_calls.py
test_asteriskjs.html
test_asteriskpl.pl

README

This tool is a client library for the Asterisk REST API, which will be
available in Asterisk 12 and later. Direct questions and comments to Erin
Spiceland at espiceland@digium.com.

Errata

* The Asterisk REST API provided by res_stasis_http is not currently fully
implemented in Asterisk. Therefore, the modules created by this tool will
not actually do anything yet. Because of this, some statements in the
module are ineffective, resulting in low pylint scores.
* Support for greater resolution of class and method templating may be needed.
* The return values of methods is not currently gleaned from the Swagger
resource files. This will be implemented in the future.

Developer Guidelines

All code, including code which is part of or generated by the tool should
conform to pep8 and reasonably pass lint tools for the respective language.

If pylint gives you the error "F: 23,0: Unable to import 'api'" along with
unusually low scores, you need to add the 'lib' and 'python/lib' directories
to your PYTHONPATH.