Skip to content

Qencode API Client for Java - Containing examples, pre-made scripts and other tools to take full advantage of the Qencode API

License

Notifications You must be signed in to change notification settings

Qencode-Corp/qencode-api-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qencode-api-java-client

Java library for interacting with the Qencode API.

Getting Started

Add the library as a dependancy to your project.

If you're using Maven, add this to your pom.xml file:

    <dependency>
          <groupId>com.qencode.java.api.client</groupId>
          <artifactId>qencode-java-api-client</artifactId>
          <version>1.0.14</version>
    </dependency>

Import the client and related classes:

import QencodeApiClient;
import QencodeException;
import com.qencode.api.java.client.classes.*;
import com.qencode.api.java.client.response.*;

Instantiate a new client with your API key:

QencodeApiClient client = new QencodeApiClient(YOUR_API_KEY);

Usage

Create a new job:

TranscodingTask task = client.CreateTask();
task.setUri(VIDEO_URL);
task.setTranscodingProfiles(TRANSCODING_PROFILE_ID);
task.start();

Query an existing job:

TranscodingTaskStatus response = task.getStatus();

Copyright

See LICENSE.txt for details.

About

Qencode API Client for Java - Containing examples, pre-made scripts and other tools to take full advantage of the Qencode API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages