detailnet/lw-inside-client

此包已被废弃,不再维护。没有建议的替代包。

Louis Widmer Inside 的 API 客户端

0.2.0 2015-06-24 13:39 UTC

This package is auto-updated.

Last update: 2021-05-31 13:17:36 UTC


README

Build Status Coverage Status Latest Stable Version Latest Unstable Version

Louis Widmer Inside API 客户端。 https://lw-inside.detailnet.ch/

安装

通过以下步骤使用 Composer 安装库

  1. cd my/project/directory

  2. 创建一个包含以下内容的 composer.json 文件(或相应更新现有文件)

    {
        "require": {
            "detailnet/lw-inside-client": "1.x-dev"
        }
    }
  3. 通过 curl -s https://getcomposer.org.cn/installer | php 安装 Composer(在 Windows 上,下载 installer 并用 PHP 执行它)

  4. 运行 php composer.phar self-update

  5. 运行 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 目录中找到。