Skip to content

schweller/golyglot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

golyglot

Please note: this is an unoficial repository and not mantained by DeepL. It contains an unoficial CLI tool and an API client for Go.


golyglot is a toolbelt for the DeepL API, either via a Go client library or CLI.

Install

Go client

go get github.com/schweller/golyglot/api

Usage

// Generate a config
config := golyglot.DefaultConfig()

// DeepL client
client := golyglot.NewClient(config)

// Instance a list of sentences
var sentences []string

sentences = append(sentence, "Hello world!")

resp, err := client.Translate().PostTranslations(sentences, "IT")

Roadmap

  • Support document upload
  • Support glossary management
  • Proper documentation
  • CLI output:
    • Distinguish layers
    • Pretty print

About

Unofficial CLI and Go bindings for DeepL API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages