xp-forge/google-search
最新稳定版本:v6.0.0
Composer 安装命令:
composer require xp-forge/google-search
包简介
Google Websearch Protocol
README 文档
README
Google Websearch Protocol. See http://www.google.com/cse/docs/resultsxml.html
Example
use com\google\search\custom\GoogleSearchClient; use util\cmd\Console; $client= new GoogleSearchClient('http://gsa23.enterprisedemo-google.com/search'); $response= $client->searchFor((new GoogleSearchQuery()) ->withTerm('test') ->startingAt(10) ); Console::writeLinef('Searching for "test" took %3.f second(s)', $response->getTime()); Console::writeLine('Results: ', $response->getResultSet());
API
$ xp mirror com.google.search.custom @FileSystemCL<./src/main/php> @FileSystemCL<./src/test/php> package com.google.search.custom { package com.google.search.custom.types package com.google.search.custom.unittest public class com.google.search.custom.GoogleSearchClient public class com.google.search.custom.GoogleSearchQuery }
统计信息
- 总下载量: 23.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-01-11




