x-yuri x-yuri - 1 year ago 76
PHP Question

Which APIs are accessible through Google API Client Library for PHP?

I wanted to use it to access Google Places API Web Service, but I can't find corresponding class.

The documentation says:

Google APIs give you programmatic access to Google Maps, Google Drive, YouTube, and many other Google products.

Am I doing it wrong? What are the criteria for including APIs in the library?

Answer Source

The PHP Client Library does not include a class for Google Places; Nevertheless, it allows you to make HTTP Requests Directly. Since Google Places API is also RESTful (example https://developers.google.com/places/web-service/search) then you can use the PHP client library to make HTTP requests directly. Please read the documentation here https://github.com/google/google-api-php-client#making-http-requests-directly. That should get you started. I hope this helps!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download