资 源 简 介
The main purpose of this PHP Class is to integrate the different Search Engine APIs.
To simplify the process of using different search APIs and make them more maintainable and easy-to-use.
Here"s an example on how to use the Google search API using the search-api class.
```
$searchAPI = new SearchAPI();
$searchAPI->addSearch( new Search("web") );
$searchAPI::$_query = "open source";
$searchAPI::$_apikey = "Your-API-Key";
$searchAPI::$_numresults = "8";
$searchAPI::$_start = 11;
$result = $searchAPI->runSearch( "google" );
echo "", print_r($result, true) , "";
```