google API files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
gautamz07
Forum Contributor
Posts: 331
Joined: Wed May 14, 2014 12:18 pm

google API files

Post by gautamz07 »

Ok so i was reading this article about seeting up the google API for PHP : https://code.google.com/p/google-api-ph ... ingStarted

if you see the section where it says :

Copy the google-api-php-client directory into your project
it says the following :

Copy the google-api-php-client directory into the myproject directory. You can add the following code to myproject.php to include the client library:

Code: Select all

  require_once "google-api-php-client/src/Google_Client.php";
  require_once "google-api-php-client/src/contrib/Google_PlusService.php";
but when i go to the github link :

https://github.com/google/google-api-php-client

and clone the repository on my system locally , i just don't see any path or filename similar to :

Code: Select all

  require_once "google-api-php-client/src/Google_Client.php";
  require_once "google-api-php-client/src/contrib/Google_PlusService.php";
what am i missing ?? .
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: google API files

Post by requinix »

Forget the code.google.com instructions and look at what the GitHub project itself says to do.
Post Reply