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

https://github.com/hamidb80/bale

bale.ai bot API client in Nim
https://github.com/hamidb80/bale

api bale bot client messanger

Last synced: 9 months ago
JSON representation

bale.ai bot API client in Nim

Awesome Lists containing this project

README

          

# [Bale Bot](https://dev.bale.ai/api/) Api Client in Nim 👑

## Features
+ ***fast***: No mapping or intermidiate representation, just stores `JsonNode`s as `distinct` ones.
+ ***free***: just define `req` procedure and use it with any HTTP library that you want. see `src/bale/helper/stdhttpclient.nim`
+ ***safe***: compile time checks & Auto-completes!!
+ ***extensible***: The docs updated or I missed some APIs/fields? No problem! just add your own function becuase it's all `JsonNode`s and functions!
+ ***easy to write***: There are some alises for fields like `message` as `msg` or `id` instead of `update_id` field for `Update` object!

## How to Use
See `tests/` at the moment

## Docs
Docs? Really? Just take a look at `src/bale.nim`! It's just one file man!