Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tandy-1000/api-binding-template
- Owner: tandy-1000
- Created: 2022-04-05T14:28:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-06T22:15:18.000Z (over 2 years ago)
- Last Synced: 2023-03-06T03:51:06.270Z (almost 2 years ago)
- Topics: api, library, nim, rest-api, template, wrapper
- Language: Nim
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/).