2017 © Pedro PelĂĄez
 

library webapi

Smartlook Web API client for PHP.

image

smartlook/webapi

Smartlook Web API client for PHP.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 5 % Grown

The README.md

smartlook-webapi-php

Build Status, (*1)

Smartlook Web API client for PHP., (*2)

Installation

The best way to install is using Composer:, (*3)

$ composer require smartlook/webapi

Usage

$api = new \Smartlook\Webapi\Client();
$api->authenticate(YOUR_API_KEY);
$response = $api->call(API_METHOD, API_PARAMS); // returns array
  • API_METHOD is method name, see methods overview
  • API_PARAMS is array of params
  • $response is always array
  • every response has property ok

Usage with Nette

Register extension in your config.neon:, (*4)

extensions:
    smartlook: Smartlook\Webapi\WebapiExtension

Add API key to your configs:, (*5)

smartlook:
    apiKey: YOUR_API_KEY

Then you have api connection as service available by DI., (*6)

Examples

The Versions

12/07 2017

dev-master

9999999-dev

Smartlook Web API client for PHP.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Duƥan KmeƄ

webapi client smartlook

17/10 2016

v1.0.1

1.0.1.0

Smartlook Web API client for PHP.

  Sources   Download

The Requires

  • php >=5.3.0

 

The Development Requires

by Duƥan KmeƄ

webapi client smartlook

17/10 2016

v1.0.0

1.0.0.0

Smartlook Web API client for PHP.

  Sources   Download

The Requires

  • php >=5.4.0

 

The Development Requires

by Duƥan KmeƄ

webapi client smartlook