<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>In the spirit of creating all sorts of client libraries that can be</div><div>used with ARI, I give you: Swagger.py[1].</div><div><br></div><div>This Swagger.py is inspired by Swagger.js[2]. You can basically build</div><div>a SwaggerClient() object, point it to the Asterisk resources.json</div><div>file, and you get a fairly simply object model representing the API.</div><div><br></div><div>It supports Swagger Spec 1.1, but I haven't tried it with anything</div><div>other than Asterisk. I expect I'll update it to support 1.2 after the</div><div>spec has been finalized.</div><div><br></div><div>Swagger.py also honors our extension for documenting WebSocket</div><div>resources, so you can access the /events WebSocket using it. A simple</div><div>"Hello, world" app that works with Asterisk is shown in the README.</div><div><br></div><div>Try it out, provide some feedback. I'll be watching the Issues and</div><div>Pull Requests on GitHub. Throw stuff up on the wiki if you like.</div><div><br></div><div>Enjoy!</div><div><br></div><div> [1]: <a href="https://github.com/digium/swagger-py">https://github.com/digium/swagger-py</a></div><div> [2]: <a href="https://github.com/wordnik/swagger-js">https://github.com/wordnik/swagger-js</a></div><div><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">-- <br>David M. Lee<br>Digium, Inc. | Software Developer<br>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>Check us out at: <a href="http://www.digium.com">www.digium.com</a> & <a href="http://www.asterisk.org">www.asterisk.org</a></div>
</div>
<br></body></html>