Skip to content

Releases: ufee/amoapi

Memory usage optimized

19 Apr 15:32
Compare
Choose a tag to compare

Get 20 000 entitys with custom fields
Memomy usage: ~130 mb

Example:
$companies = $amo->companies()->maxRows(20000)->recursiveCall();
$companies->each(function(&$company) {
// handle item
$company->id;
$company->cf('Name')->getValue();
// after handled clear mem for this item
$company = null;
});
// done

Added catalog_elements_links for leads

19 Apr 14:59
Compare
Choose a tag to compare
0.8.3.1

Added catalog_elements_links

Auto link company

12 Feb 14:22
Compare
Choose a tag to compare

Automatically link $entity->company_id from creator entity.

for lead from contact
$lead = $contact->createLead();

for contact from lead
$contact = $lead->createContact();

Added custom field - Calendar

20 Jan 09:40
Compare
Choose a tag to compare
0.8.2.4

Added calendar cfield

Auth methods changed

28 Dec 11:43
Compare
Choose a tag to compare

Fixed 401 problem

Added curl timeouts

22 Nov 09:22
Compare
Choose a tag to compare
0.8.2.2

Added timeouts

Added fields

20 Nov 13:15
Compare
Choose a tag to compare

$lead->company_name;
$contact->company_name;
$contact->first_name;
$contact->last_name;

New methods

14 Nov 14:32
Compare
Choose a tag to compare

Entity field hash
$entity->getHash();

Task methods
$task->hasExpired();
$task->startDate($format = 'Y-m-d H:i:s');
$task->endDate($format = 'Y-m-d H:i:s')

Added new methods

28 Oct 13:55
Compare
Choose a tag to compare

$note->setPinned(true);
$note->getAattachment();

Updates

14 Oct 10:39
Compare
Choose a tag to compare

Parent entity get methods added
Api query methods changed