detailnet/lw-inside-client

This package is abandoned and no longer maintained. No replacement package was suggested.

API client for Louis Widmer Inside

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

API Client for Louis Widmer Inside. https://lw-inside.detailnet.ch/

Installation

Install the library through Composer using the following steps:

  1. cd my/project/directory

  2. Create a composer.json file with following contents (or update your existing file accordingly):

    {
        "require": {
            "detailnet/lw-inside-client": "1.x-dev"
        }
    }
  3. Install Composer via curl -s http://getcomposer.org/installer | php (on Windows, download the installer and execute it with PHP)

  4. Run php composer.phar self-update

  5. Run php composer.phar install

Usage

See the following example for how to use the library:

// 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);

More examples can be found in the examples directory.