Joker DMAPI client, written in Go. Currently work-in-progress
Find a file
Heiko Schlittermann (HS12-RIPE) d6cac2d5d4 feat: add tests for improved coverage, extract testable run/generate from main
- Add dmapi/request_test.go: tests for Do(), Authenticated(), Cookies(), BasicResult
- Add dmapi/queryvalues_test.go: tests for queryValues() and required validation
- Add dmapi/gen/gen_test.go: tests for read(), fixup(), generate()
- Add cmd/joker/config_test.go: tests for getConfig() and run()
- Refactor cmd/joker and dmapi/gen to extract testable functions from main()

Coverage: dmapi 61.7%→89.7%, dmapi/gen 16.3%→78%, cmd/joker 0%→60.6%
2026-04-14 23:36:07 +02:00
cmd/joker feat: add tests for improved coverage, extract testable run/generate from main 2026-04-14 23:36:07 +02:00
dmapi feat: add tests for improved coverage, extract testable run/generate from main 2026-04-14 23:36:07 +02:00
doc doc: update API description 2025-12-23 20:06:41 +01:00
internal Squashed commit of the following: 2025-12-29 12:42:27 +01:00
.gitignore Squashed commit of the following: 2025-12-13 00:19:33 +01:00
.gogogo.conf release: fix gogogo.conf 2025-12-23 23:44:00 +01:00
.golangci.yml new: implement more functionality 2025-12-16 15:41:43 +01:00
go.mod feat: add tests for improved coverage, extract testable run/generate from main 2026-04-14 23:36:07 +02:00
go.sum feat: add tests for improved coverage, extract testable run/generate from main 2026-04-14 23:36:07 +02:00
joker.conf.example new: implement more functionality 2025-12-16 15:41:43 +01:00
LICENSE.txt new: implement more functionality 2025-12-16 15:41:43 +01:00
README.md Squashed commit of the following: 2025-12-23 20:29:56 +01:00

Joker-API-Client

A simple Joker DMAPI Go client implementation. And a CLI for (example) use of this client.

Build

The dmapi/api.go is generated from dmapi/api.yaml and the template dmapi/api.go.template. If you add API calls to the YAML document, re-run go generate ./... (and commit the changes).

API Documentation API Interface description