happyr/api-php-client

1.2.4 2016-11-10 23:13 UTC

README

Latest Version Software License Build Status Code Coverage Quality Score Total Downloads

This PHP library is a client to the API at api.happyr.com.

Installation

composer require happyr/api-php-client

Configuration

There is a few mandatory configuration parameters. They are 'identifier' and 'secret'. You will get them both from the Happyr-API website.

Usage

use Happyr\ApiClient\HappyrClient;

class MyClass
{
    public function myFunc()
    {
        $api = HappyrClient::create('myApiIdentifier', 'myApiSecret');
        $patterns = $api->profilePattern()->index('sv');
    }
}