https://github.com/motionbank/piecemaker-api-client
A Java / JavaScript piecemaker API client
https://github.com/motionbank/piecemaker-api-client
java javascript piecemaker
Last synced: 5 months ago
JSON representation
A Java / JavaScript piecemaker API client
- Host: GitHub
- URL: https://github.com/motionbank/piecemaker-api-client
- Owner: motionbank
- License: mit
- Created: 2012-12-04T07:23:18.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T17:58:49.000Z (over 8 years ago)
- Last Synced: 2026-01-23T17:58:23.578Z (6 months ago)
- Topics: java, javascript, piecemaker
- Language: JavaScript
- Homepage: http://piecemaker.org/
- Size: 8.09 MB
- Stars: 3
- Watchers: 9
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**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](http://motionbank.org/en/content/education-piecemaker). It is a simple system to annotate time based (mostly video) material. It is heavily being used by [The Forsythe Company](http://theforsythecompany.com/) and behind the [online scores of the Motion Bank project](http://scores.motionbank.org/).
There are multiple versions of Piecemaker out in the wild at the moment:
- original [Piecemaker and Piecemaker Lite](http://piecemaker.org/) by [David Kern](https://github.com/nutbits)
- [PM2GO (Piecemaker to go)](http://motionbank.org/en/event/pm2go-easy-use-video-annotation-tool) by [H_Da](https://www.h-da.de/) for Motion Bank
- [Piecemaker 2](https://github.com/motionbank/piecemaker2-app) which includes [the API](https://github.com/motionbank/piecemaker2-api) by [H_Da](https://www.h-da.de/) for Motion Bank
This client's API implementation is based upon the new/upcoming [Piecemaker 2.0 API](https://github.com/motionbank/piecemaker2-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](https://github.com/motionbank/ofxPiecemaker2).
The JavaScript version uses [jQuery.ajax](https://api.jquery.com/jQuery.ajax/) in the browser DOM and Node.js' ["http"](http://nodejs.org/api/http.html) for the asynchronous Piecemaker API requests. Java version uses [Apache Commons](http://commons.apache.org/).
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:
- [Motion Bank on Github](https://github.com/motionbank)
- [motionbank.org](http://motionbank.org)
- [piecemaker.org](http://piecemaker.org)