A Java library to access Crowdin API. Crowdin provides RESTful API with XML or JSON over HTTP using GET or POST methods. With a help of this SDK you can smooth the work with all Crowdin API methods in your Java project, such as adding and updating files, downloading translations or integrating localization with your development process.
Java JDK 7 or newer
Clone the repo
Refresh project's dependencies using gradle
Build the project to get jar file:
Add this file to your project
Making First Call
Once you have completed the Installation, you could make the first call:
Create variables for API key, project identifier, account key, base url and save their values. Get more information how to get your project API key.
Create a Credentials object with proper configurations
Create a CrowdinApiParametersBuilder object and set parameters necessary for chosen method (See the list of Crowdin API methods and their parameters)
Create CrowdinApiClient object and choose the necessary API method For output the response's entity:
Run the code using IDE or command line. It should return something like this: