https://github.com/OwO-Network/gDeepLX
A Go library used for unlimited DeepL translation
https://github.com/OwO-Network/gDeepLX
deepl deeplx
Last synced: over 1 year ago
JSON representation
A Go library used for unlimited DeepL translation
- Host: GitHub
- URL: https://github.com/OwO-Network/gDeepLX
- Owner: OwO-Network
- License: mit
- Archived: true
- Created: 2023-07-23T11:56:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T17:17:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-29T19:15:39.203Z (over 1 year ago)
- Topics: deepl, deeplx
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 28
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gDeepLX
gDeepLX is a Go library used for DeepL translation.
## Deprecated
Core repository [OwO-Network/DeepLX](https://github.com/OwO-Network/DeepLX) already supports more features.
## Installation
Install it with the go get command:
```bash
go get github.com/OwO-Network/gdeeplx
```
## Usage
Then, you can create a new DeepL translation client and use it for translation:
```go
import (
"fmt"
"github.com/OwO-Network/gdeeplx"
)
func main() {
result, err := gdeeplx.Translate("Hello World!", "EN", "ZH", 0)
if err != nil {
fmt.Printf("Error: %v\n", err)
return
}
fmt.Println(result)
}
```
## Author
**gDeepLX** © [Vincent Young](https://github.com/missuo), Released under the [MIT](./LICENSE) License.