Jason J. W. Williams
2016-01-07 02:46:19 UTC
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
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