Download the PHP package magdv/dadata without Composer
On this page you can find all versions of the php package magdv/dadata. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package dadata
Short Description Data cleansing, enrichment and suggestions via Dadata API
License MIT
Homepage https://github.com/magdv/dadata
Informations about the package dadata
Dadata API Client
Data cleansing, enrichment and suggestions via Dadata API
Forked package for Dadata API.
Installation
Requirements:
- PHP 7.4
- PSR Client 7
Usage
Create API client instance:
Then call API methods as specified below.
Postal Address
Validate and cleanse address
Geocode address
Same API method as "validate and cleanse":
Reverse geocode address
GeoIP city
Autocomplete (suggest) address
Show suggestions in English:
Constrain by city (Yuzhno-Sakhalinsk):
Constrain by specific geo point and radius (in Vologda city):
Boost city to top (Toliatti):
Find address by FIAS ID
Find by KLADR ID:
Find postal office
Suggest postal office by address or code:
Find postal office by code:
Find nearest postal office:
Get City ID for delivery services
Get address strictly according to FIAS
Suggest country
Company or individual enterpreneur
Find company by INN
Find by INN and KPP:
Suggest company
Constrain by specific regions (Saint Petersburg and Leningradskaya oblast):
Constrain by active companies:
Constrain by individual entrepreneurs:
Constrain by head companies, no branches:
Find affiliated companies
Search only by manager INN:
Bank
Find bank by BIC, SWIFT or INN
Find by SWIFT code:
Find by INN:
Find by INN and KPP:
Find by registration number:
Suggest bank
Personal name
Validate and cleanse name
Suggest name
Suggest female first name:
Phone
Validate and cleanse phone
Passport
Validate passport
Suggest issued by
Validate email
Suggest email
Other datasets
Tax office
Regional court
Metro station
Constrain by city (Saint Petersburg):
Car brand
Currency
OKVED 2
OKPD 2
Profile API
Balance:
Usage stats:
Dataset versions:
Development setup
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.
Use Conventional Commits for commit messages.
Changelog
This library uses CalVer with YY.MM.MICRO schema. See changelog for details specific to each release.