An open API service indexing awesome lists of open source software.

https://github.com/previousdeveloper/jakbank

Java client library for Akbank Api
https://github.com/previousdeveloper/jakbank

Last synced: about 2 months ago
JSON representation

Java client library for Akbank Api

Awesome Lists containing this project

README

        

# Jakbank
Java client library for Akbank Api

# Implementation

## Configuration
You need to get apiKey from [here]('https://apiportal.akbank.com/')
```Java
String apiKey = "";
String baseUrl = "https://apigate.akbank.com/api/mock";

Configuration config = new Configuration(apiKey,baseUrl);
```

## Client
To create a new JAkbankClient
```Java
IJAkbankClient client = new JAkbankClient(config);

//Call Sync
Response result = client.build().creditInterestRates("I").execute();

string applicationEndDate =result.body().getData().getApplicationEndDate();
int responseCode =result.code();

//Call Async
Call result = client.build().creditInterestRates("t");
result.enqueue(new Callback() {
@Override
public void onResponse(Response response) { }

@Override
public void onFailure(Throwable throwable) {

}
});
```

## Contributing
Issues, pull requests and questions are welcomed.

### Pull Requests
- Fork the repository
- Make changes
- Ensure all tests pass and 100% code coverage is achieved
- Raise pull request