Skip to content

Latest commit

History

257 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Amara Java Client

Table of Contents

Build StatusMaven Centralsnapshotsjavadoc

This is a simple java client for the amara project (https://amara.org/). It isn’t yet complete, but methods can easily be added. The API itself is documented here (You need to be logged in)

How to use

importnl.vpro.amara.domain.*;
importnl.vpro.amara.Client;
...
ClientamaraClient = Client.builder()
.url(getRequiredConfig("amara.api.url"))
.user(getRequiredConfig("amara.api.username"))
.apiKey(getRequiredConfig("amara.api.key"))
.team(getRequiredConfig("amara.api.team"))
.build();
ActivityamaraActivity = amaraClient.activities().get("5036197");
VideoamaraVideo = amaraClient.videos().get("FSW0qzp2Enlk");
List<Activity> amaraActivities = amaraClient.activity().list(Activity.TYPE_APPROVE_VERSION, now - afterTimestampInSeconds).getActivities();

Installation

Download the most recent jar from: https://oss.sonatype.org/content/repositories/snapshots/nl/vpro/amara/amara-java and install it like you’d normally would.

Or you can add this to your pom.xml

<dependency>
<groupId>nl.vpro.amara</groupId>
<artifactId>amara-java</artifactId>
<version>0.10</version>
</dependency>

About

Java client for amara

Topics

Resources

Stars

0 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages