Skip to content

Developer's how-to

The Studio LDA API is a software service with a REST interface that accepts and returns JSON objects.

Whenever a client program has to analyze a text, it must request an API resource. This is similar to what you do when you request the page of a site with a Web browser: Studio LDA API is "similar" to a Web site thet runs inside Studio, on your computer.

The request contains the API resource path—its URL, or endpoint—and the text of the document to be analyzed, classified and extracted. For this type of request the POST method is used.

Presented with this request, the service responds synchronously (after an amount of time depending on the type of processing requested and the complexity/length of the text) with the processing results.

You can use a variety of programming languages and frameworks—including C#, JavaScript, and NodeJS—to write che client code for the API, for example:

LanguageFramework
CLibCurl
C#HttpClient
C#RestSharp
cURLcURL
DartDart
Gohttp package
HTTP(Raw HTTP request)
JavaOkHttp
JavaUnirest
JavaScriptFetch
JavaScriptjQuery
JavaScriptXHR
NodeJSAxios
NodeJSNative
NodeJSRequest
NodeJSUnirest
Objective-CNSURLSession
OCamlCohttp
PHPcURL
PHPGuzzle
PHPHttp_Request2
PHPpecl_http
PowerShellRestMethod
Pythonhttp.client (Python 3)
PythonRequests
Rhttr
RRCurl
RubyNET::Http
ShellHttpie
Shellwget
SwiftURLSession

In the reference section of this manual you can find all hthe information about: