Java SDK for the Mifiel API.
API reference, guides, and examples:
- English: https://docs.mifiel.com/en/
- Español: https://docs.mifiel.com/es/
This README covers installation and client setup only.
Requires Java 8 or later. The client is published on Maven Central as com.mifiel:mifiel-api-client.
<dependency>
<groupId>com.mifiel</groupId>
<artifactId>mifiel-api-client</artifactId>
<version>2.0.0</version>
</dependency>implementation 'com.mifiel:mifiel-api-client:2.0.0'- Create an account (production or sandbox).
- Generate an
APP_IDandAPP_SECRETin Access Tokens. - Configure the client:
import com.mifiel.api.ApiClient;
ApiClient apiClient = new ApiClient(appId, appSecret);
// Production is the default (https://app.mifiel.com).
// For sandbox:
apiClient.setUrl("https://app-sandbox.mifiel.com");- Fork it (https://github.com/Mifiel/java-api-client/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request