https://github.com/previousdeveloper/jakbank
Java client library for Akbank Api
https://github.com/previousdeveloper/jakbank
Last synced: 4 months ago
JSON representation
Java client library for Akbank Api
- Host: GitHub
- URL: https://github.com/previousdeveloper/jakbank
- Owner: previousdeveloper
- License: mit
- Created: 2016-04-23T17:29:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-23T22:57:46.000Z (almost 10 years ago)
- Last Synced: 2025-10-13T19:31:46.931Z (4 months ago)
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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