Simple Tureng.com API written by Golang. The API parsing Tureng.com and serve data into json format.
The API uses Go Query.
To use tureng-api package, you need to install Go and set your Go workspace first.
- Clone the project
$ git clone https://github.com/gokhanamal/tureng-api
- Open project directory
$ cd tureng-api
- Download the depencencies
$ go mod download
- Run the API
$ go run main.go
- Open
localhost:8080
in your browser.
http://localhost:8080/translate?phrase=concurrency
Output
{
"source" : Given phrase (turkish/english)
"target" : Meaning of the given phrase (turkish/english)
"category: Category of the phrase in Turkish
"type": Type of the given phrase. Exp. "isim, fiil, zarf"
}