DaData

Java library for DaData.Ru REST API

Лицензия

Лицензия

Категории

Категории

Данные
Группа

Группа

ru.leon0399
Идентификатор

Идентификатор

dadata
Последняя версия

Последняя версия

0.8.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

DaData
Java library for DaData.Ru REST API
Ссылка на сайт

Ссылка на сайт

https://github.com/leon0399/dadata
Система контроля версий

Система контроля версий

https://github.com/leon0399/dadata

Скачать dadata

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/ru.leon0399/dadata/ -->
<dependency>
    <groupId>ru.leon0399</groupId>
    <artifactId>dadata</artifactId>
    <version>0.8.0</version>
</dependency>
// https://jarcasting.com/artifacts/ru.leon0399/dadata/
implementation 'ru.leon0399:dadata:0.8.0'
// https://jarcasting.com/artifacts/ru.leon0399/dadata/
implementation ("ru.leon0399:dadata:0.8.0")
'ru.leon0399:dadata:jar:0.8.0'
<dependency org="ru.leon0399" name="dadata" rev="0.8.0">
  <artifact name="dadata" type="jar" />
</dependency>
@Grapes(
@Grab(group='ru.leon0399', module='dadata', version='0.8.0')
)
libraryDependencies += "ru.leon0399" % "dadata" % "0.8.0"
[ru.leon0399/dadata "0.8.0"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.apache.logging.log4j : log4j-core jar 2.6
com.google.code.gson : gson jar 2.6.2
commons-io : commons-io jar 2.5

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

DaData Java API GitHub version Build Status Coverage Status

Java library for DaData.Ru REST API

API documentation

Installation

<dependency>
    <groupId>ru.leon0399</groupId>
    <artifactId>dadata</artifactId>
    <version>0.8.0</version>
</dependency>

Usage

DaData dadata = DaData daData = new DaData(">YOUR API KEY<", ">YOUR SECRET KEY<");

Clean

Address address = daData.cleanAddress("мск сухонска 11/-89");
Phone phone = daData.cleanPhone("тел 7165219 доб139");
Passport passport = daData.cleanPassport("4509 235857");
Name name = daData.cleanName("Срегей владимерович иванов");
Email email = daData.cleanEmail("serega@yandex/ru");
Birthdate birthdate = daData.cleanBirthdate("24/3/12");
Vehicle vehicle = daData.cleanVehicle("форд фокус");

Require balance

daData.getBalance();

License

The MIT License (MIT)

Copyright (c) 2016 Leonid Meleshin

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Версии библиотеки

Версия
0.8.0