Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 2 commits
  • 3 files changed
  • 0 comments
  • 1 contributor

Showing 3 changed files with 82 additions and 6 deletions. Show diff stats Hide diff stats

  1. +27 3 README
  2. +33 0 assembly.xml
  3. +22 3 pom.xml
30 README
... ... @@ -1,14 +1,30 @@
1   -README for panda-lib
  1 +README for panda-lib 0.1.1
2 2
3 3 This is a small lib providing easy access to the API of the pandastream
4   -cloud video transcoding service.
  4 +cloud video transcoding service (http://www.pandastream.com).
5 5
6 6 If you need more of the API reflected or improvement/bugfixes feel free
7 7 to contact me per <mh@lambdasoup.com>.
8 8
9 9 USAGE
10 10
11   -For usage see test class.
  11 +Instanciate the Panda client with
  12 +
  13 +Panda panda = new Panda(accessKey, cloudId, secretKey, apiHost);
  14 +
  15 +then upload a video file with
  16 +
  17 +Video video = panda.postRemoteVideo("http://panda-test-harness-videos.s3.amazonaws.com/panda.mp4");
  18 +
  19 +this Video object now holds the id the pandastream.com service generated for it.
  20 +
  21 +To get the encodings that are produced after your upload use
  22 +
  23 +Collection<Encoding> encodings = panda.getEncodings(video.id);
  24 +
  25 +
  26 +
  27 +For further usage see test class.
12 28
13 29
14 30 DEPENDENCIES
@@ -16,3 +32,11 @@ DEPENDENCIES
16 32 Apache Commons Http Libs
17 33 Gson Json Library
18 34
  35 +
  36 +CHANGELOG
  37 +
  38 +0.1.0 -> 0.1.1
  39 +
  40 +* added link to pandastream.com
  41 +* added usage example to README
  42 +
33 assembly.xml
... ... @@ -0,0 +1,33 @@
  1 +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  2 + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3 + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
  4 + <id>default</id>
  5 + <formats>
  6 + <format>tar.gz</format>
  7 + <format>tar.bz2</format>
  8 + <format>zip</format>
  9 + </formats>
  10 + <fileSets>
  11 + <fileSet>
  12 + <directory>${project.basedir}</directory>
  13 + <includes>
  14 + <include>README</include>
  15 + <include>COPYING</include>
  16 + <include>pom.xml</include>
  17 + </includes>
  18 + <useDefaultExcludes>true</useDefaultExcludes>
  19 + </fileSet>
  20 + <fileSet>
  21 + <directory>${project.basedir}/src</directory>
  22 + <useDefaultExcludes>true</useDefaultExcludes>
  23 + </fileSet>
  24 + <fileSet>
  25 + <directory>${project.build.directory}</directory>
  26 + <outputDirectory>/</outputDirectory>
  27 + <includes>
  28 + <include>${project.build.finalName}.jar</include>
  29 + </includes>
  30 + </fileSet>
  31 + </fileSets>
  32 +</assembly>
  33 +
25 pom.xml
@@ -3,9 +3,9 @@
3 3 <modelVersion>4.0.0</modelVersion>
4 4 <groupId>com.lambdasoup</groupId>
5 5 <artifactId>panda</artifactId>
6   - <version>0.1.0</version>
7   - <name>Java Lib for pandastream.org</name>
8   - <description>Java Lib for pandastream.org</description>
  6 + <version>0.2.0-SNAPSHOT</version>
  7 + <name>Java Lib for pandastream.com</name>
  8 + <description>Java Lib for pandastream.com</description>
9 9
10 10 <build>
11 11 <plugins>
@@ -29,6 +29,25 @@
29 29 </systemProperties>
30 30 </configuration>
31 31 </plugin>
  32 + <plugin>
  33 + <artifactId>maven-assembly-plugin</artifactId>
  34 + <version>2.2.1</version>
  35 + <configuration>
  36 + <descriptors>
  37 + <descriptor>assembly.xml</descriptor>
  38 + </descriptors>
  39 + <appendAssemblyId>false</appendAssemblyId>
  40 + </configuration>
  41 + <executions>
  42 + <execution>
  43 + <id>make-assembly</id> <!-- this is used for inheritance merges -->
  44 + <phase>package</phase> <!-- bind to the packaging phase -->
  45 + <goals>
  46 + <goal>single</goal>
  47 + </goals>
  48 + </execution>
  49 + </executions>
  50 + </plugin>
32 51 </plugins>
33 52 </build>
34 53

No commit comments for this range

Something went wrong with that request. Please try again.