orangeapi_client

Last updated:

0 purchases

orangeapi_client Image
orangeapi_client Images
Add to Cart

Description:

orangeapi client

orangeapi_client #
Client library for OrangeAPI by Orange dog d.o.o.
Getting started #
To use this plugin, add orangeapi_client as a dependency in your pubspec.yaml file.
Also you need URL for working OrangeAPI backend instance.
Usage #
// Create OrangeApi instance
final api = OrangeApi(apiUrl: 'https://api.example.com');
// Invoke relevant endpoint
final res = await api.finance.iban.getBic('SI56101000050433981');
// Process the response
if (res.isValue) {
// Succeed
final data = res.asValue!.value;
print("Success! BIC: ${data.bic}, name: ${data.name}");
} else {
// Failed, field error contains ErrorData
print("Error: ${res.asError!.error}");
}

// Dispose api object when you no longer need it
api.dispose();
copied to clipboard
Features #
Finance #
IBAN

Get BIC and name of the bank by IBAN.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.