JSlidesShare is a Java wrapper around the SlideShare API. It can be used for mashing up slides in your own Java Web application.
An example
Using JSlideShare is very easy. For example, if you need to get the code for embedding a specific presentation starting from its SlideShare id:
SlideShareAPI ssapi = new SlideShareAPIFactory(
API_KEY, // Your API key
SHARED_SECRET // Your shared secret
);
Slideshow slideshow = ssapi.getSlideshow("142806");
String embedCode = slideshow.getEmbedCode();Current features
At present you can:
- Retrieve a slideshow by its id or url
- Retrieve the slideshows of an user
- Retrieve the slideshows with a specific tag
- Retrieve the slideshows from a group
- Upload of a new presentation
Usage
Simply download and uncompress one of the binary distribution files (tar.gz or zip). Then add to the classpath of your application the JSlideshare-*.jar and all the (few) dependecies JARs you'll find in the lib directory.
If you are using Maven in your project, you can add to your pom.xml the following repository:
<repository>
<id>parancoe-org-repository</id>
<name>Parancoe Repository for Maven</name>
<url>http://maven2.parancoe.org/repo</url>
<layout>default</layout>
</repository>and dependency:
<dependency>
<groupId>com.benfante</groupId>
<artifactId>JSlideShare</artifactId>
<version>0.5</version>
<scope>compile</scope>
</dependency>