2017 © Pedro Peláez
 

library techfinancials-api-client

TechFinancials Web API client

image

resnext/techfinancials-api-client

TechFinancials Web API client

  • Tuesday, October 25, 2016
  • by AlexanderEmelyanov
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

TechFinancials API client

Software License Build Status Code Coverage Packagist, (*1)

Using this API client for TechFinancials platform you can open account for your leads, redirect these leads to broker's website with auto-login and retrieve deposits made by these leads., (*2)

Installation

Install using Composer, doubtless., (*3)

$ composer require resnext/techfinancials-api-client

General API Client usage.

$apiClient = new TechFinancials\ApiClient(<URL>, <USERNAME>, <PASSWORD>);

Trader registration

$request = new \TechFinancials\Requests\RegisterTraderRequest([
    'username' => 'email@domain.com',
    'firstName' => 'John',
    'lastName' => 'Smith',
    'email' => 'email@domain.com',
    'phone' => '12345678909',
    'countryCode' => 'DE',
    'currencyCode' => 'EUR',
    'password' => 'password',
    'trackingCode' => 'Your tracking code'
]);
/** @var \TechFinancials\Responses\RegisterTraderResponse $response */    
$response = $apiClient->registerTrader($request);

Find registered traders

/** @var \TechFinancials\Responses\FindAccountsResponse $response */
$response = $apiClient->findAccounts();
/** @var \TechFinancials\Entities\Account[] $accounts */
$accounts = $response->getAccounts();

The Versions

25/10 2016

dev-master

9999999-dev

TechFinancials Web API client

  Sources   Download

MIT

The Requires

 

The Development Requires

by La Sayter

api binary options techfinancials

24/10 2016

0.2.2

0.2.2.0

TechFinancials Web API client

  Sources   Download

MIT

The Requires

 

The Development Requires

by La Sayter

api binary options techfinancials

24/10 2016

0.2.1

0.2.1.0

TechFinancials Web API client

  Sources   Download

MIT

The Requires

 

The Development Requires

by La Sayter

api binary options techfinancials

24/10 2016

0.2.0

0.2.0.0

TechFinancials Web API client

  Sources   Download

MIT

The Requires

 

The Development Requires

by La Sayter

api binary options techfinancials

23/10 2016

0.1.0

0.1.0.0

TechFinancials Web API client

  Sources   Download

MIT

The Requires

 

The Development Requires

by La Sayter

api binary options techfinancials