Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tandy-1000/api-binding-template

Never write boiler plate again. A template for API wrappers in Nim.
https://github.com/tandy-1000/api-binding-template

api library nim rest-api template wrapper

Last synced: 26 days ago
JSON representation

Never write boiler plate again. A template for API wrappers in Nim.

Awesome Lists containing this project

README

        

## So you want to make REST API bindings in Nim...

### Features:
- Never write boiler plate again.
- Out of the box support for native C / C++ and JS backend.
- Built in [jsony](https://github.com/treeform/jsony/) hooks for:
- snake_case APIs,
- `Option` types,
- Uses `fastsync` pragma from [asyncutils](https://github.com/tandy-1000/asyncutils) to enable sync / async with reduced code duplication.

### Used to build:
- [listenbrainz-nim](https://gitlab.com/tandy1000/listenbrainz-nim)
- [lastfm-nim](https://gitlab.com/tandy1000/lastfm-nim)
- [matrix-nim-sdk](https://github.com/dylhack/matrix-nim-sdk)

Thanks to [beef](https://github.com/beef331/) and [dylan](https://github.com/dylhack/).