flickrj is a Java API which communicates with Flickr using the Flickr REST API.
Test cases can be found in the test directory.
JavaDocs