|All requests||>||Google custom search engine using the...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Navneet Kumar - 6 years ago (2014-11-26)
I need to implement the Google Custom search engine using API in PHP.
2. by Jacob Fogg - 6 years ago (2014-12-09) Reply
I have just finished a solutions for this class. Once you have your siteId and Google API Key, you simply pass in the search parameters you wish to search with and your results will come back as instantiated Google API JSON Objects. As soon as the class is approved, I'll post it as a solution here.
1. by Manuel Lemos - 6 years ago (2014-11-26) Reply
What API do you mean?
Do you mean that Google Custom search API that lets you search your own site using Google and you can retrieve results using the API?
This is a simple class for interfacing with the custom search api. Once toy have your api key and your site I'd, all you need to is to pass in your search parameters and the class will return the result.
It seems there is not yet a specific class for implementing a search engine using the Google Custom Search engine API.
However, since that API is based on OAuth 2.0, you can build a more specific class for that purpose using this PHP OAuth API client class.