Skip to content
/ lang-which Public

Simple REST service to POST a string and receive the guessed language as response

Notifications You must be signed in to change notification settings

saz/lang-which

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lang-which

Simple REST service to POST a string and receive the guessed language as response

Installation

  1. git clone git://github.com/saz/lang-which.git
  2. cd lang-which
  3. mkvirtualenv lang-which
  4. pip install -r requirements.txt

Usage

  1. Starting lang-which
    python lang-which.py
  1. POSTing some data
    curl -d text=Hello+World%3F -H "Accept: application/json" http://localhost:8080

Sample Response

    saz@serenity:~$ curl -d text=Hello+World%3F -H "Accept: application/json" http://localhost:8080
    {"language": "en"}
    saz@serenity:~$

About

Simple REST service to POST a string and receive the guessed language as response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages