Deepl
DeepL Pro API client for Go.
Install / Use
/learn @bounoable/DeeplREADME
DeepL Pro API client
Client library for the DeepL Pro API.
Installation
go get github.com/bounoable/deepl
Usage
See the examples.
import (
"github.com/bounoable/deepl"
)
client := deepl.New("your-auth-key")
translated, sourceLang, err := client.Translate(
context.TODO(),
"Hello, world",
deepl.Chinese,
)
if err != nil {
log.Fatal(err)
}
log.Println(fmt.Sprintf("source language: %s", sourceLang))
log.Println(translated)
Testing
You can test the library against the real DeepL API by running the following command.
CAUTION: Runnning these tests will add to your usage and therefore will be billed!
make e2e-test authKey=YOUR_AUTH_KEY
License
Related Skills
gh-issues
350.8kFetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
oracle
350.8kBest practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).
taskflow-inbox-triage
350.8kname: taskflow-inbox-triage description: Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some w
