Skip to main content

Package for working with the "dadata.ru" service

Project description

DaData Commercito

Package for working with the "dadata.ru" service

Пакет для работы с сервисом "dadata.ru"

Installation

For correct installation, specify the version
Для корректной установки указывайте версию

pip install comto-dadata==1.0.1

Using

Company (Поиск компаний)

from comto_dadata import company

payload = {
    'query': 'Иванов Александр',
    'count': 20,
    'status': ["ACTIVE"],
    'locations': [{"kladr_id": "1300000100000"}],
}

res = company.suggest('your-token', payload)

Profile (Личный кабинет)

from comto_dadata import profile

stat = profile.stat('your-token', 'your-secret')
balance = profile.balance('your-token', 'your-secret')
version = profile.version('your-token')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comto_dadata-1.0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

comto_dadata-1.0.2-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page