2017 © Pedro Peláez
 

library amo-restapi

PHPClient to work with through AmoCRM Rest API.

image

dmamontov/amo-restapi

PHPClient to work with through AmoCRM Rest API.

  • Wednesday, December 16, 2015
  • by dmamontov
  • Repository
  • 1 Watchers
  • 10 Stars
  • 257 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 8 Forks
  • 1 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Latest Stable Version License Total Downloads, (*1)

AmoCRM API Client

This class can Manage accounts of AmoCRM using its REST API., (*2)

It can obtain an authorization token for a given account, so it can send HTTP requests to the AmoCRM Rest API in order to perform several types of operations., (*3)

Currently it can the current accounts, set and get contacts, contact links, leads, companies, tasks, notes and fields., (*4)

Requirements

  • PHP version >5.0
  • curl

Available methods

  • getAccounts
  • setContacts, getContactsList, getContactsLinks
  • setLeads, getLeadsList
  • setCompany, getCompanyList
  • setTasks, getTasksList
  • setNotes, getNotesList
  • setFields

Installation

1) Install composer, (*5)

2) Follow in the project folder:, (*6)

composer require dmamontov/amo-restapi ~1.0.3

In config composer.json your project will be added to the library dmamontov/amo-restapi, who settled in the folder vendor/. In the absence of a config file or folder with vendors they will be created., (*7)

If before your project is not used composer, connect the startup file vendors. To do this, enter the code in the project:, (*8)

require 'path/to/vendor/autoload.php';

Examples of use

Getting information about the leads

``` php $amo = new AmoRestApi($subDomain, $login, $key); $order = $amo->getLeadsList(1, 0, 2556);, (*9)

### Creating a contacts

``` php
$amo = new AmoRestApi($subDomain, $login, $key);
$contacts['add'] = array(
    'name' => 'Test',
    'request_id' => '2555',
    'date_create' => time()
);
$result = $amo->setContacts($contacts);

The Versions

16/12 2015

dev-master

9999999-dev http://www.slobel.ru/

PHPClient to work with through AmoCRM Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm amocrm

25/11 2015

1.0.3

1.0.3.0 http://www.slobel.ru/

PHPClient to work with through AmoCRM Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm amocrm

13/08 2015

1.0.2

1.0.2.0 http://www.slobel.ru/

PHPClient to work with through AmoCRM Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm amocrm

10/05 2015

1.0.1

1.0.1.0 http://www.slobel.ru/

PHPClient to work with through AmoCRM Rest API.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.0

 

by Dmitry Mamontov

api rest client crm amocrm