SDKs
SDKs for all major programming languages
If you’re working with Java, the official mercoa package is the easiest way to interact with the Mercoa API.
Add this dependency to your project’s build file:
1implementation 'com.mercoa:mercoa:0.6.4'
Add this dependency to your project’s POM:
1<dependency>2 <groupId>com.mercoa</groupId>3 <artifactId>mercoa</artifactId>4 <version>0.6.4</version>5</dependency>
1Mercoa client = Mercoa.builder()2 .token("MERCOA_API_KEY")3 .build();45var response = client.entity().get("YOUR_ENTITY_ID");67System.out.println(response.getId());