long2506 / 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

"Tutorial: Hello Analytics API" out of date with google-api-php-client library #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the latest google-api-php-client library 
google-api-php-client-0.6.0.tar.gz 
2. Install it
3. try to run the hello api tutorial script

What is the expected output? What do you see instead?
I would except an authentication procedure and other behaviour instead...
Nothing happens.

What version of the product are you using? On what operating system?
Latest PHP library as of 2012.10(nov.).06 google-api-php-client-0.6.0.tar.gz  
OS X 10.7.5

Please provide any additional information below.
I believe this has to do with the fact that the client class went from 
<apiClient> to <Google_Client>.

Also the files went from </src/apiClient.php> and 
</src/contrib/apiAnalyticsService.php> to
</src/Google_Client.php> and </src/contrib/Google_AnalyticsService.php> without 
the tutorial file being upgraded.

Original issue reported on code.google.com by patricba...@gmail.com on 6 Nov 2012 at 2:07

GoogleCodeExporter commented 9 years ago
The examples with the library should now have been updated.

Original comment by ianbar...@google.com on 22 Mar 2013 at 4:05