Java SDK for integrating with the Smartling API.
The Smartling API SDK is distributed via Maven Central and is compatible with JDK 1.7 (Java 7) and up.
Add the SDK to your dependencies:
<dependencies>
<dependency>
<groupId>com.smartling.api</groupId>
<artifactId>smartling-api-sdk</artifactId>
<version>${version}</version>
</dependency>
</dependency>
Add the SDK to your dependencies:
dependencies {
implementation "com.smartling.api:smartling-api-sdk:${version}"
}
The Smartling SDK manages OAuth 2 authentication automatically when you provide a API v2.0 identifier and a user secret to the API factory.
SmartlingApi createSmartlingApi(String userIdentifier, String userSecret)
{
return new SmartlingApiFactory()
.build(userIdentifier, userSecret);
}
Open an issue on this repository to discuss any planned changes other than bug fixes with Smartling's maintainers.
Fork this repository and create a pull request with your proposed changes. Your pull request must pass all automated tests before it will be considered for inclusion.
Smartling developers should refer to the wiki for instructions on contributing to this SDK.