https://github.com/rogozhka/ytrwrap
Yandex.Translate API wrapper (Translate/Detect/Languages) with LC constants and optional http client for proxy
https://github.com/rogozhka/ytrwrap
api client golang translation yandex
Last synced: 5 months ago
JSON representation
Yandex.Translate API wrapper (Translate/Detect/Languages) with LC constants and optional http client for proxy
- Host: GitHub
- URL: https://github.com/rogozhka/ytrwrap
- Owner: rogozhka
- License: mit
- Created: 2019-05-18T22:18:04.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T07:23:39.000Z (about 6 years ago)
- Last Synced: 2025-01-02T06:19:14.832Z (7 months ago)
- Topics: api, client, golang, translation, yandex
- Language: Go
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://godoc.org/github.com/rogozhka/ytrwrap)
[](https://travis-ci.org/rogozhka/ytrwrap)
[](https://goreportcard.com/report/github.com/rogozhka/ytrwrap)
[](https://codecov.io/gh/rogozhka/ytrwrap)**ytrwrap** is a wrapper for [Yandex.Translate API](https://tech.yandex.com/translate/). Free API key is required to use machine translation service. Supports more than 90 languages and can translate separate words or complete texts. API consists of 3 simple methods: Languages, Translate, Detect.
## Usage example
```go
package mainimport (
"fmt""github.com/rogozhka/ytrwrap"
)func main() {
tr := ytrwrap.NewYandexTranslate("