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
- Host: GitHub
- URL: https://github.com/hamidb80/bale
- Owner: hamidb80
- Created: 2023-07-28T14:46:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-06T13:12:34.000Z (over 2 years ago)
- Last Synced: 2023-10-07T08:26:38.037Z (over 2 years ago)
- Topics: api, bale, bot, client, messanger
- Language: Nim
- Homepage:
- Size: 396 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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!