PHP Client For Akbank API
PHP
Permalink
Failed to load latest commit information.
example endpoints finished Apr 21, 2016
src Unittest updates Apr 23, 2016
tests test env variable added Apr 22, 2016
.gitignore Client created Apr 19, 2016
.travis.yml Unittest updates Apr 23, 2016
README.md test case init Apr 22, 2016
composer.json composer project name update May 9, 2016
composer.lock Client created Apr 19, 2016
phpunit.xml.dist test case init Apr 22, 2016

README.md

PHP Client For Akbank API

You can easily connect to Akbank API Client with PHP. Example:

<?php
require_once '../vendor/autoload.php';

define('API_KEY', '....');

$apiClient = new \AkbankAPI\Client('https://apigate.akbank.com/api/mock/');
$apiClient->setApikey(API_KEY);

// TEST 1
$response = $apiClient->getCreditInterestRate(
     \AkbankAPI\Endpoints\CreditInterestRates::CREDIT_TYPE_CONSUMER_LOAN
);
var_dump($response->isOk());
var_dump($response->getReturnCode());
var_dump($response->getReturnMessage());
var_dump($response->getData());

For more example you can check the tests.

API Documentation : https://apiportal.akbank.com/documentation Client Documentation : Soon!