<< Back to API Docs

Language

This method returns the language of some text input.

HTTP Method

GET / POST

Note: POST is also accepted here, since sometimes GET won't be enough (e.g, very long GET query strings are not supported by all web servers and proxies).

URL
http://brain.meaningtool.com/neocortex/language
HTTP Request parameters (query string)
api_key
The API key obtained after you signed up in meaningtool.com.
input
Input data to obtain the language from.

Example JSON representation of a Result on success:

    {
      "status": "ok",
      "code": "0",
      "message": "Language retrieved.",
      "payload": {
          "language": "en"
       }
    }