Download the PHP package rankim-software/rankim-api without Composer

On this page you can find all versions of the php package rankim-software/rankim-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rankim-api

Api de integração Rankim (PHP)

Integração com a plataforma de marketing e CRM Rankim

GPL Licence PHPPackages Rank

Para mais informações, acesse o nosso site.

Direitos reservados à Rankim Soluções de Software Ltda.

Requísitos

Via composer

composer require rankim-software/rankim-api

Instância da API

~~~.php

// include autoload (direct, not needed by Composer) include '../src/autoload.php';

OR

// if use composer (autoload) require DIR . '/vendor/autoload.php';

// instance API $api = new \Rankim\Api('{id}', '{access_token}');

// get real estate listing $data = $api->get('wallet');

// check errors if ($api->getError()) { var_dump($api->getError()); }

// the output (array) var_dump($data);


### Parâmetros da instância da classe

Tradução dos parâmetros

| paràmetro     | tipo         |  descrição  |
| ------------- | -------------| ------------- |
| id            | integer (11) | id do usuário da API
| access_token  | string (40)  | token de autenticação do usuário

### Funções da API

##### $api->auth()
Verificar se o ID e Token de usuários são válidos

##### $api->get('wallet')
Lista os imóveis da conta do usuário (retorno array)

##### $api->get('realty/123')
Trás informações de um imóvel específico na carteira (detalhes, imagens e características)

##### $api->put('lead', array())
Registra uma lead na sua conta (com ou sem campanha)

~~~.php
$api->put('lead', array(
    'name' => 'nome do lead',
    'email' => 'email do lead',
    'phone' => 'telefone do lead',
    'campaign' => 1 (opcional)
))
$api->getError()

Mostra os erros de execução da API

Atualização regular

@Release 1.1.2/2018


All versions of rankim-api with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
lib-curl Version ^7.36
lib-openssl Version ^1.0.1.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package rankim-software/rankim-api contains the following files

Loading the files please wait ....