10/10
2015
Wallogit.com
2017 © Pedro Peláez
Dadata.ru API client based on HTTP Client Extension for Yii 2., (*1)
Add this code into your project. Use yours token and secret provided by dadata.ru, (*2)
$client = new DadataClient(
[
'token' => token,
'secret' => secret,
]
);
Now client is ready to use., (*3)
$response = $client->cleanAddress('< address >');
This project can be installed using Composer. Add the following to your composer.json:, (*4)
{ "require": { "truth4oll/dadata-api": "dev-master" } }