Skip to content

motionbank/piecemaker-api-client

Repository files navigation

Piecemaker API client for Java and JavaScript

Piecemaker is a software originally started by David Kern and further developed as part of the Motion Bank project. It is a simple system to annotate time based (mostly video) material. It is heavily being used by The Forsythe Company and behind the online scores of the Motion Bank project.

There are multiple versions of Piecemaker out in the wild at the moment:

This client's API implementation is based upon the new/upcoming Piecemaker 2.0 API which is part of Piecemaker 2.

This client library is actually two implementations in one: JavaScript and Java. The JavaScript version can be used in a browser or with Node.js. The Java version is targeted at Processing but should run in plain Java just fine. An openFrameworks addon is in the works.

The JavaScript version uses jQuery.ajax in the browser DOM and Node.js' "http" for the asynchronous Piecemaker API requests. Java version uses Apache Commons.

Install for browser, use bower:

$ bower install piecemaker-api-client

Install for Node.js, use npm:

$ npm install piecemaker-api-client

For Processing: i will ask for inclusion into the PDE library manager once we hit a first official release.

For Java you should build from source: Tweak the build.xml to point to your Processing copy, then:

$ ant

Resources: