The Google HTTP Client Library for Java is designed to work with any REST HTTP service on the web, not just with Google APIs. So far we only have two samples for the Google HTTP Client Library for Java, but we hope to add more over time. We also welcome contributions for samples for other APIs, as described in our guide to becoming a contributor.
Google+ command-line sample:
Daily Motion command-line sample:
You can browse all HTTP samples.