pownraj-anubavam / google-api-php-client

Automatically exported from code.google.com/p/google-api-php-client
Apache License 2.0
0 stars 0 forks source link

Prediction example (trunk/examples/prediction/index.php #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Unless I make a big mistake and I'm using an old library, the prediction 
examples uses files that are no longer available.

bad 
require_once '../google-api-php-client/src/Google_Client.php';
require_once 
'../google-api-php-client/src/contrib/Google_PredictionService.php';

good
require_once '../google-api-php-client/src/apiClient.php';
require_once '../google-api-php-client/src/contrib/apiPredictionService.php';

Maybe it's better to change the examples to use the correct files (and classes)

Original issue reported on code.google.com by dr.dr...@gmail.com on 15 Aug 2012 at 12:08

GoogleCodeExporter commented 9 years ago
All of the class names were renamed and prefixed with Google_ on *TRUNK*.
You will need to checkout the latest version from here:
http://code.google.com/p/google-api-php-client/source/checkout

Original comment by chiragsh...@gmail.com on 15 Aug 2012 at 5:51