FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

google-api-java-client-samples/prediction-cmdline-sample at master · ws-java/google-api-java-client-samples · GitHub

Latest commit

 

History

History
 
 

README.md

prediction-cmdline-sample

Instructions for the Prediction V1.6 Command-Line Sample

Browse online

Register your application

Check out and run the sample

Prerequisites: install Java, Git, and Maven. You might need to set your JAVA_HOME.

cd [someDirectory]
git clone https://github.com/google/google-api-java-client-samples.git
cd google-api-java-client-samples/prediction-cmdline-sample
cp ~/Downloads/MyProject-12345abcd.p12 src/main/resources/
[editor] src/main/java/com/google/api/services/samples/prediction/cmdline/PredictionSample.java
mvn compile
mvn -q exec:java

To enable logging of HTTP requests and responses (highly recommended when developing), take a look at logging.properties.


Back | FazBrowse Home | New Git URL