mirror of
https://github.com/FedericoCeratto/nim-circleci
synced 2026-01-02 08:04:44 +00:00
No description
| circleci_client.nim | ||
| circleci_client.nim.cfg | ||
| circleci_client.nimble | ||
| LICENSE | ||
| README.adoc | ||
## Nim CircleCI client
Client for the link:https://circleci.com/docs/api/[CircleCI API v1]
### Installation
[source,bash]
----
nimble install circleci_client
----
### Example
[source,nim]
----
import circleci_client
import json
let c = newCircleCIClient("<your_circleci_token>")
echo "Hello, ", c.user()["name"].str
echo "The last build was a ", c.recent_builds(limit=1)[0]["outcome"].str
----
### Documentation
See autogenerated documentation with "nim doc circleci_client.nim"