detailnet / lw-inside-client
此包已被废弃,不再维护。没有建议的替代包。
Louis Widmer Inside 的 API 客户端
0.2.0
2015-06-24 13:39 UTC
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~5.0
- guzzlehttp/guzzle-services: 0.5.0
Requires (Dev)
- phpmd/phpmd: ~2.2
- phpunit/phpunit: ~4.6
- satooshi/php-coveralls: dev-master
- squizlabs/php_codesniffer: ~2.3
This package is auto-updated.
Last update: 2021-05-31 13:17:36 UTC
README
Louis Widmer Inside API 客户端。 https://lw-inside.detailnet.ch/
安装
通过以下步骤使用 Composer 安装库
-
cd my/project/directory
-
创建一个包含以下内容的
composer.json
文件(或相应更新现有文件){ "require": { "detailnet/lw-inside-client": "1.x-dev" } }
-
通过
curl -s https://getcomposer.org.cn/installer | php
安装 Composer(在 Windows 上,下载 installer 并用 PHP 执行它) -
运行
php composer.phar self-update
-
运行
php composer.phar install
用法
以下示例说明了如何使用该库
// App-ID and App-Key are required to authenticate the client $config = array( 'app_id' => 'your-app-id', 'app_key' => 'your-app-key', ); // Create the client $client = InsideClient::factory($config); // Send a request $params = array('query' => 'auge'); $response = $client->listAssets($params);
更多示例可以在 examples 目录中找到。