2017 © Pedro Peláez
 

library snooth

PHP client for interacting with the snooth.com RESTful api.

image

websoftwares/snooth

PHP client for interacting with the snooth.com RESTful api.

  • Monday, July 29, 2013
  • by Websoftwares
  • Repository
  • 0 Watchers
  • 1 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Snooth

PHP client for interacting with the api.snooth.com RESTful api., (*1)

Build Status, (*2)

Documentation

We encourage you to read the documentation carefully before proceeding., (*3)

Api Key

U need to register to obtain an api key., (*4)

Install composer in your project:, (*5)

curl -s http://getcomposer.org/installer | php

Create a composer.json file in your project root:, (*6)

{
    "require": {
        "websoftwares/snooth": "dev-master"
    }
}

Install via composer, (*7)

php composer.phar install

Example Usage

Please read the documentation for a complete list of available methods and paramaters., (*8)

use Websoftwares\SnoothClient,
    Websoftwares\Snooth,
    Websoftwares\SnoothException;

try {
    $snooth = new Snooth(new SnoothClient('123456789YourApiKey'));
    // Set parameters for method and get response
    $response = $snooth->setParameter('a', 0)->get('wines');

} catch (SnoothException $e) {
    echo $e->getMessage();
}

Testing

In the tests folder u can find several tests for online and offline., (*9)

The Versions

29/07 2013

dev-master

9999999-dev

PHP client for interacting with the snooth.com RESTful api.

  Sources   Download

dbad

The Requires

  • php >=5.3.0
  • ext-curl *
  • ext-json *

 

The Development Requires

by Boris Verhaaff

api snooth