Java Library
The official Java library wraps the Ollang integration API — projects, uploads, orders, revisions, and custom instructions — using the JDK’s built-in HTTP client, with Gson as the only runtime dependency. Source code lives in thejava/ directory of the SDK repository. Requires Java 11+.
Installation
Maven:Authentication
- Sign up or log in at Olabs
- Create or select a project
- Generate an API key from project settings
Quick Start
Resources
All methods return the parsed JSON response as a Gson
JsonElement. Non-2xx responses throw OllangApiException, which carries the HTTP status code and the response body (raw and parsed).
More Examples
For endpoints the library doesn’t wrap yet, the underlying HTTP client is
available:
ollang.client().get("/integration/supported-languages"). See the
full API reference for all
endpoints.