Skip to content

Commit c8aacdb

Browse files
"Added sample: java/README"
1 parent 84d7973 commit c8aacdb

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

java/README

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Prerequisites for this code sample:
2+
- Java 1.6
3+
- Apache Maven (http://maven.apache.org)
4+
5+
Before running the sample, client_secrets.json must be populated with a
6+
client ID and client secret. You can create an ID/secret pair at:
7+
8+
https://code.google.com/apis/console
9+
10+
To build this code sample from the command line, type:
11+
12+
mvn compile
13+
14+
To run the code sample from the command line, enter the following:
15+
16+
mvn exec:java
17+
18+
For more instructions about how to set up Maven and/or your IDE to run
19+
YouTube API samples, see this video:
20+
21+
http://youtu.be/pb_t5_ShQOM

0 commit comments

Comments
 (0)