kuveytturk-api
v1.0.2
Published
Javascript library to use Kuveyt Turk Participiant Bank api
Maintainers
Readme
kuveytturk-api
Javascript Library for the Kuveyt Turk API!
This library provides a Javascript interface for the Kuveyt Turk API. Making a request to Kuveyt Turk API requires a valid access token and signature. OAuth procedures are eased and signature generation is automated in this library.
Installation
Get the latest version with npm
npm install kuveytturk-apiUsage
You need to get a instance from KuveytturkApi object with the your application credentials.
import { KuveytturkApi } from 'kuveytturk-api'
//...
this.kuveytturkApi = new KuveytturkApi(
CLIENT_ID,
SECRET_ID,
REDIRECT_URL,
PRIVATE_KEY);
//...Then , you can call Api Products below.
this.kuveytturkApi.kuveytTurkBranchList().then( (data) => {
console.log(data);
}).catch( (error) =>{
console.log(error);
}); Only Api Products which has client credentials authorization flow can be call directly.
- Information Services
- FX Currency List
- FX Currency Rates
- Kuveyt Turk Branch List
- Kuveyt Turk ATM List
- Kuveyt Turk XTM List
- Bank List
- Bank Branch List
- Authorization Flow
Get Authorization Url - It generates Url for Customer Authentication with your app credentials.
Get Authorization Token - It takes token with Authorization Code. (Refresh token mechanism included.)
Getting Help
Please, ask a question on Stack Overflow and tag it with kuveytturk
