aliyunapi / php-aliyun-open-api-search
aliyunsdk
1.0.1
2017-03-30 04:26 UTC
Requires
- php: >=5.5.0
- aliyunapi/guzzle-subscriber: ~1.0
This package is auto-updated.
Last update: 2024-12-11 02:44:32 UTC
README
开放搜索接口
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist aliyunapi/php-aliyun-open-api-search
or add
"aliyunapi/php-aliyun-open-api-search": "~1.0"
to the require section of your composer.json.
使用方式
$client = new \aliyun\search\Client([
'accessKeyId' => '123456',
'accessSecret' => '123456'
'appName' => 'search',
'baseUri' => 'http://opensearch-cn-hangzhou.aliyuncs.com',
]);
//发送接口请求
$response = $client->getApps();
print_r($response);
exit;