Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 15 days ago
JSON representation

Yandex.Translate API wrapper (Translate/Detect/Languages) with LC constants and optional http client for proxy

Awesome Lists containing this project

README

        

[![GoDoc](https://godoc.org/github.com/rogozhka/ytrwrap?status.svg)](https://godoc.org/github.com/rogozhka/ytrwrap)
[![Travis](https://travis-ci.org/rogozhka/ytrwrap.svg?branch=master)](https://travis-ci.org/rogozhka/ytrwrap)
[![Go Report Card](https://goreportcard.com/badge/github.com/rogozhka/ytrwrap)](https://goreportcard.com/report/github.com/rogozhka/ytrwrap)
[![codecov](https://codecov.io/gh/rogozhka/ytrwrap/branch/master/graph/badge.svg)](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 main

import (
"fmt"

"github.com/rogozhka/ytrwrap"
)

func main() {

tr := ytrwrap.NewYandexTranslate("