https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java
Java SDK to communicate with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats in the Cloud.
https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java
conversion-cloud-sdk djvu docx-to-pdf excel groupdocs-conversion-cloud java maven pdf powerpoint word
Last synced: 11 months ago
JSON representation
Java SDK to communicate with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats in the Cloud.
- Host: GitHub
- URL: https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java
- Owner: groupdocs-conversion-cloud
- License: mit
- Created: 2018-05-22T07:26:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T07:55:49.000Z (12 months ago)
- Last Synced: 2025-03-10T08:30:06.470Z (12 months ago)
- Topics: conversion-cloud-sdk, djvu, docx-to-pdf, excel, groupdocs-conversion-cloud, java, maven, pdf, powerpoint, word
- Language: Java
- Homepage: https://products.groupdocs.cloud/conversion/java
- Size: 1.24 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GroupDocs.Conversion Cloud SDK for Java
This repository contains GroupDocs.Conversion Cloud SDK for Java source code. This SDK allows you to work with GroupDocs.Conversion Cloud REST APIs in your Java applications.
## Requirements
* Java SE Development Kit 8
## Installation
### Maven
Add following repository and dependency to your project's POM
```xml
groupdocs-artifact-repository
GroupDocs Artifact Repository
https://repository.groupdocs.cloud/repo
```
```xml
com.groupdocs
groupdocs-conversion-cloud
25.3
compile
```
### Gradle
Add following repository and dependency to your build.gradle:
```javascript
repositories {
maven {
url "https://repository.groupdocs.cloud/repo/"
}
}
...
dependencies {
...
implementation 'com.groupdocs:groupdocs-conversion-cloud:25.3'
}
```
## Getting Started
* Please follow the [installation](#installation) instruction
* Get your AppSID and AppKey at [Dashboard](https://dashboard.groupdocs.cloud) and use them in your code
* Build and execute
* Explore more samples at [GitHub](https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java-samples)
Example:
```java
import com.groupdocs.cloud.conversion.client.*;
import com.groupdocs.cloud.conversion.model.*;
import com.groupdocs.cloud.conversion.api.InfoApi;
import java.util.*;
public class ApiExample {
public static void main(String[] args) {
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
String appSid = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
String appKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
Configuration configuration = new Configuration(appSid, appKey);
InfoApi infoApi = new InfoApi(configuration);
try {
FormatsResult response = infoApi.getSupportedFileFormats();
for (Format format : response.getFormats()) {
System.out.println(format.getFileFormat());
}
} catch (ApiException e) {
System.err.println("Failed to get supported file formats");
e.printStackTrace();
}
}
}
```
## Manual build and installation from sources
Building the API client library requires [Maven](https://maven.apache.org/) to be installed.
Refer to the [official documentation](https://maven.apache.org/plugins/maven-deploy-plugin/usage.html) for more information.
At first generate the JAR by executing following command in "/src" working directory:
```shell
mvn package -D maven.test.skip=true
```
Then manually install the following JARs:
* target/groupdocs-conversion-cloud-25.3.jar
* target/lib/*.jar
## Licensing
All GroupDocs.Conversion Cloud SDKs are licensed under [MIT License](LICENSE).
## Resources
* [**Website**](https://www.groupdocs.cloud)
* [**Product Home**](https://products.groupdocs.cloud/conversion)
* [**Documentation**](https://docs.groupdocs.cloud/conversion/)
* [**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
* [**Blog**](https://blog.groupdocs.cloud/category/conversion)
## Contact Us
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).