Skip to main content

Python (Django like) API for Amocrm

Project description Downloads Latest Version

Python AmoCRM API ( (human interface for easy using )


pip install amocrm_api


There are 7 abstraction of 5 AmoCRM objects:

  • Контакт - BaseContact
  • Компания - BaseCompany
  • Сделка - BaseLead
  • Задача - (LeadTask, ContactTask)
  • Событие - (LeadNote, ContactNote)


First of all you need to define settings Example:

from amocrm import BaseContact, amo_settings, fields
amo_settings.set('', '4b332718c4c5944003af7e6389860ced', 'testcentrobit')

Custom field

One of the features of AmoCRM in the presence of custom fields in a contact, company and lead objects

To define your custom field you need describe it


from amocrm import BaseContact, amo_settings, fields
amo_settings.set('', '4b332718c4c5944003af7e6389860ced', 'testcentrobit')

class Contact(BaseContact):
    position = fields.CustomField(u'Должность')
    site = fields.CustomField(u'Сайт')
    phone = fields.CustomField(u'Телефон', enum='WORK')

Ok, now it is ready to use and you can get, create or edit contacts


new_contact = Contact(name='Example2', company='ExampleCorp2', position='QA', phone='0001') = ''

contact = Contact.objects.get(
contact_search ='Example2')
assert ==
print( = '8-800-00000000'
contact.create_task('New task, yeee', task_type=u'Звонок',

Нужна помощь (особенно для документировании). Если есть желание помочь - welcome! Пулреквесты приветствуются!

Project details

Download files

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

Files for amocrm-api, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size amocrm_api-0.1.1.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page