To interact with our API system you can use any programming or scripting language supporting external internet calls.
The following one is our base url. All API calls must refer to this address.
By now we support just a method, identify, used to identify a language by a passed string
These formats need to be appended to the method as extensions, exactly as shown below
You just need one parameter to get started: string. This is the urlencoded string you whish to identify. Must be no longer then 249 chars.
As optional parameter you can specify your api-key. This would allow you to make 20,000 calls per day at no cost! Learn how to get your API key.
All the parameters must be appended in GET to the url requested. Please have a look at below examples for more information.
Identify my string anonymously, retrieving data in JSON
http://api.langid.net/identify.json?string=please%20identify%20me
Identify my string using my API key, retrieving data in XML
http://api.langid.net/identify.xml?string=please%20identify%20me&api-key=XXXXXXXXXXXX
Now that you know how to perform calls, you might be interested on how results are presented. Have a look at dealing with results section