Version 2 (modified by 18 years ago) (diff) | ,
---|
API for Wordnet/Cornetto? server
Replace servername with actual address of the server.
Getting the list of available dictionaries for the user
Request: servername/doc?action=init
Response: JSON encoded hash with following structure
{ "slovniky" => { ''client_package_id'' => { "id" => ''client package id'', "dict" => ''dictionary code'', "prava" => ''access rights r/w'', "nazov" => ''package name'', "dicslookup" => ''array of package names to allow lookups to'', "eqtags" => ''array of eqtags+dictionaries'', "dicsreload" => ''array of dictionaries to refresh'', "key" => ''dictionary key tag'' } } }