Posts

Showing posts from April, 2013

Google Drive API Example - What worked for me

Image
An interesting Java example exists for the Google Drive API on the Google Developers Site . It is located in the Quick Start menu. It is intended to provide developers with a simple way to start using the Google Drive API. While this is a welcome extension provided by Google, I ran into problems making this example work. The first problem I encountered was enabling the Drive API. The instructions indicated that you are required to "enable the Drive API". I did this, but it appears you also need to enable the Drive SDK as well. If you fail to enable both you receive an "access not configured" error. The 2nd problem that caused me a few hours of frustration was the inability to build the example using the suggested Maven configuration. After numerous attempts I was able to settle on this Maven configuration which appeared to work. <dependency>       <groupId>com.google.apis</groupId>       <artifactId>google-api-se