[Twisted-Python] Shiji - JSON REST API Framework built with Twisted Web

Jason J. W. Williams jasonjwwilliams at gmail.com
Wed Jan 6 19:46:19 MST 2016


HI Guys,

In case its of help to anyone, my company is open sourcing the framework we
built using Twisted Web to help us build & serve JSON REST APIs:

https://github.com/williamsjj/shiji

We've been using it successfully for a few years and built it to solve a
bunch of repetitive tasks for us:

* API versioning
* Signed cookie handling w/ support for key rotation.
* Enforcement of required JSON arguments and validation of JSON argument
datatypes.
* Enforcement of required query string arguments.
* Standardized JSON error responses.
* Basic sanity checking of pagination arguments for API calls that support
it.
* Automatic generation of API documentation based on call docstrings and
subclasses of our APIError super class.

MIT License, so feel free to do with it as you please. If you have any
questions, just let me know. Hope it's useful to someone else as well.

-J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20160106/02564058/attachment.html>


More information about the Twisted-Python mailing list