Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Java library for utilizing Gnip services.
Latest commit 7fd8c31 @prsutherland prsutherland Deleting a lot of cruft and getting this to work to get activities fr…
…om gnip 2.0 box -- just missed a few files last commit


Welcome to Gnip's Java convenience library!


This library produces a single JAR file called gnip-client-<version>.jar that can be used
to conveniently access Gnip services. The implementation depends on Java 1.6 features; Java
1.5 or earlier environments are not supported.


Building this library requires maven2. Maven can be downloaded from

To build the library, run: mvn compile

To clean the library, run: mvn clean

To package the library into its JAR, run: mvn package


To test the library, create the file:


which holds the username, password, and host properties used to
connect to Gnip.  This file should be of the format:
# the number of seconds to wait between each test's setup / teardown

Note, the JUnit tests publish activities to a Publisher.  You can only own publish
activities to a Publisher when you own it, so create a Publisher and provide its
name above in the "gnip.publisher" property.

To test the library, run: mvn test
Something went wrong with that request. Please try again.