title: How to get started with Google Custom Search API?
body: <p>I'm trying to write a Java program that uses Google's Custom Search API to retrieve search results. As a first-time user of API's, though, the documentation on the website is extremely confusing - does one retrieve results by connecting to the google api link like:</p>
  
  <p><a href="https://stackoverflow.com/questions/11319705/google-custom-search-api">Google Custom Search API</a></p>
  
  <p>(Then once you've connected, how do you display the results? Using BufferedReader gives me a 403 error)</p>
  
  <p>...or do you need to download the library and use their GoogleCustomSearch class like:</p>
  
  <p><a href="https://stackoverflow.com/questions/6917861/java-google-custom-search-api">java google custom search api</a></p>
  
  <p>? I have the googleux-customsearch jar (from <a href="http://blog.lux-medien.com/2011/08/google-custom-search-java-implementation/" rel="noreferrer">http://blog.lux-medien.com/2011/08/google-custom-search-java-implementation/</a>) and integrated it into Eclipse but I'm not quite sure what import statements I should be using to use these classes (again, first-time user). </p>
  
  <p>I'm also not quite sure the distinction between the Java client, REST API, and JSON API (are they all the same thing??) as detailed on the Google Custom Search API website...can anyone please clarify? Thanks!</p>