SkillAgentSearch skills...

Deepl

DeepL Pro API client for Go.

Install / Use

/learn @bounoable/Deepl
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

DeepL Pro API client

PkgGoDev

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

MIT

Related Skills

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated10mo ago
Forks8

Languages

Go

Security Score

87/100

Audited on Jun 8, 2025

No findings