Discussion:
[Twisted-Python] Shiji - JSON REST API Framework built with Twisted Web
Jason J. W. Williams
2016-01-07 02:46:19 UTC
Permalink
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
Glyph Lefkowitz
2016-01-07 09:59:03 UTC
Permalink
Post by Jason J. W. Williams
HI Guys,
https://github.com/williamsjj/shiji <https://github.com/williamsjj/shiji>
* 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.
Thanks for this announcement, and thanks for open sourcing it! Always good to have new developments in the ecosystem :-D.

-glyph
Jason J. W. Williams
2016-01-08 00:26:49 UTC
Permalink
Post by Glyph Lefkowitz
Thanks for this announcement, and thanks for open sourcing it! Always
good to have new developments in the ecosystem :-D.
-glyph
My pleasure! It's been on my shortlist for awhile. :)

-J

Loading...