truth4oll/dadata-api

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/truth4oll/dadata-api

dev-master 2015-10-10 09:54 UTC

This package is not auto-updated.

Last update: 2025-12-16 10:29:09 UTC


README

Dadata.ru API client based on HTTP Client Extension for Yii 2.

How to use

Add this code into your project. Use yours token and secret provided by dadata.ru

$client = new DadataClient(
    [
        'token' => token,
        'secret' => secret,
    ]
);

Now client is ready to use.

Data clean

$response = $client->cleanAddress('< address >');

Installing

This project can be installed using Composer. Add the following to your composer.json:

{
    "require": {
        "truth4oll/dadata-api": "dev-master"
    }
}

Links