Skip to content

gokhanamal/tureng-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tureng-api

Simple Tureng.com API written by Golang. The API parsing Tureng.com and serve data into json format.

Dependencies

The API uses Go Query.

Installation

To use tureng-api package, you need to install Go and set your Go workspace first.

  1. Clone the project
$ git clone  https://github.com/gokhanamal/tureng-api
  1. Open project directory
$ cd tureng-api
  1. Download the depencencies
$ go mod download
  1. Run the API
$ go run main.go
  1. Open localhost:8080 in your browser.

Example Request

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"
}

Output

About

unofficial Tureng.com API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages