首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > search-api

search-api

  • 资源大小:0.00 B
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

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) , ""; ```
VIP VIP
0.173784s