2017 © Pedro PelΓ‘ez
 

library api-client-tradesoft

API client tradesoft.ru

image

r0dgerv/api-client-tradesoft

API client tradesoft.ru

  • Tuesday, November 22, 2016
  • by R0dgerV
  • Repository
  • 1 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

api-client-tradesoft

API client tradesoft.ru, (*1)

Install

``` sh composer require r0dgerv/api-client-tradesoft=dev-master, (*2)


НиТС ΠΈΠ΄ΡƒΡ‚ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Ρ‹ примСнСния, ΠΏΠΎΠ»Π½ΡƒΡŽ Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π°Ρ†ΠΈΡŽ Π΄ΠΎΠΊΡƒΠΌΠ΅Π½Ρ‚Π°Ρ†ΠΈΡŽ ΠΏΠΎ [API] ΠΌΠΎΠΆΠ½ΠΎ Π½Π°ΠΉΡ‚ΠΈ Π½Π° ΠΎΡ„ΠΈΡ†ΠΈΠ°Π»ΡŒΠ½ΠΎΠΌ сайтС https://www.tradesoft.ru/ ### Бписок доступных поставщиков ```php use R0dgerV\ApiClientTradesoft\ApiClient; $client = new ApiClient('YouLogin', 'YouPassword'); $result = $client->getProviderList(); echo json_encode($result, true)

Поиск ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»Π΅ΠΉ ΠΏΠΎ ΠΊΠΎΠ΄Ρƒ getProducerList

use R0dgerV\ApiClientTradesoft\ApiClient;

$client = new ApiClient('YouLogin', 'YouPassword');
$result = $client->generateProviderContentForProducerList(
                'portal_absauto',
                'YouLoginProducer',
                'YouPasswordProducer',
                'kl9'
            )->generateProviderContentForProducerList(
                'adeo',
                'YouLoginProducer',
                'YouPasswordProducer',
                'kl9'
            )
            ->getProducerList();
echo json_encode($result, true)

Запрос списока доступных ΠΎΠΏΡ†ΠΈΠΉ поставщика

use R0dgerV\ApiClientTradesoft\ApiClient;

$client = new ApiClient('YouLogin', 'YouPassword');
$result = $client->generateProviderContentForOptionsList(
                'portal_absauto',
                'YouLoginProducer',
                'YouPasswordProducer',
            )->generateProviderContentForOptionsList(
                'adeo',
                'YouLoginProducer',
                'YouPasswordProducer',
            )
            ->getOptionsList();
echo json_encode($result, true)

Поиск Ρ†Π΅Π½ ΠΈ наличия ΠΏΠΎ ΠΊΠΎΠ΄Ρƒ ΠΏΡ€ΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŽ getPriceList

use R0dgerV\ApiClientTradesoft\ApiClient;

$client = new ApiClient('YouLogin', 'YouPassword');
$result = $client->generateProviderContentForPriceList(
                'portal_absauto',
                'YouLoginProducer',
                'YouPasswordProducer',
                'kl9',
                'MAHLE', ['analogs' => 'N']
            )->generateProviderContentForPriceList(
                'adeo',
                'YouLoginProducer',
                'YouPasswordProducer',
                'kl9',
                'MAHLE', ['analogs' => 'N']
            )
            ->getPriceList();
echo json_encode($result, true)

The Versions

22/11 2016

dev-master

9999999-dev

API client tradesoft.ru

  Sources   Download

MIT

The Requires

 

by Andrey Bunyaev

api client tradesoft

22/11 2016

0.4

0.4.0.0

API client tradesoft.ru

  Sources   Download

MIT

The Requires

 

by Andrey Bunyaev

api client tradesoft

22/11 2016

0.3

0.3.0.0

API client tradesoft.ru

  Sources   Download

MIT

The Requires

 

by Andrey Bunyaev

api client tradesoft

21/11 2016

0.2

0.2.0.0

API client tradesoft.ru

  Sources   Download

MIT

The Requires

 

by Andrey Bunyaev

api client tradesoft

19/11 2016

0.1

0.1.0.0

API client tradesoft.ru

  Sources   Download

MIT

The Requires

 

by Andrey Bunyaev

api client tradesoft