Lama2
: Plain-Text Powered REST API Client for Teams
¶
About¶
Lama2 is a Plain-Text powered REST API client & manager built for serious engineering teams.
Lama2 specifies the .l2
syntax for describing APIs, and implements a CLI to execute .l2
files. Engineers collaborate on .l2
files using version control. Lama2 integrates nicely with
IDEs and text-editors as well. Think of Lama2 as Markdown for APIs.
Benefits¶
- Plain-Text files: Store APIs in the Plain-Text
.l2
API files. Simple and human-friendly syntax. Learn basics within minutes! - Simple CLI: Launch the CLI tool
l2
on API files to make REST API requests. - Editor support: Invoke Lama2 from your favorite text editor or IDE. Helpful documentation and tool support to build editor extensions included.
- Longevity & track-ability: Commit
.l2
files togit
or other version control for long life & change tracking. - Collaboration: Share API repo with teammates and colleagues to collaborate
- Code generation: Convert
l2
API definitions into your preferred language/library, be it Python, Javascript, Java or many other options. - Powerful chaining: Chain multiple
l2
requests through embedded Javascript blocks - Documentation: Explore examples, how-tos, explanations, references, FAQ/RAQs, and diagrams. Documentation is a priority, so that you never have to get lost.
- Extensibility:
.l2
syntax is implemented as a recursive descent parser, based on a formal grammar. Dig into details and implement new syntax (ex: to supportwebsockets
)
Tip
Coming from postman? Let Lama2 help you convert Postman data dumps into a nice Plain-Text Lama2 repo.
Terminal Demo: A POST request¶
basic_post.l2
:
POST
https://httpbin.org/post
{
"hello": "world"
}
Execute:
l2 basic_post.l2
VSCode Demo: The same POST request¶
Community and Support¶
- Full documentation @hexmos.com/lama2
- Report issues and propose improvements at Github issues
- Discuss with the community at Discord