lua-Spore
Overview
lua-Spore is a generic ReST client library based on pluggable middlewares, which supports various RESTful API Description Languages:
- SPORE (Specification to a POrtable Rest Environment)
- Google Discovery Document
- RAML
- Swagger / OpenAPI
- WADL
Status
lua-Spore is now in maintenance stage.
It's developed for Lua 5.1, 5.2, 5.3, 5.4 & 5.5.
On Unix-like OS, the prefered protocol implementation is http which supports both HTTP & HTTPS. The initial implementation was based on LuaSocket which supports only HTTP/1.1, with an optional support of HTTPS by LuaSec.
Download
The sources are hosted on Framagit.
Installation
lua-Spore is available via LuaRocks:
luarocks install lua-spore
or manually (LuaSocket and dkjson required), with:
make install
Test
The test suite requires the module lua-TestAssertion.
make test
Copyright and License
Copyright © 2010-2026 François Perrad
This library is licensed under the terms of the MIT/X11 license, like Lua itself.