Add the following repository to yourpom.xml:
<repository>
<id>api-v1-client-java-mvn-repo</id>
<url>https://raw.githubusercontent.com/blockchain/api-v1-client-java/mvn-repo/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
Add the following dependency to yourpom.xml:
<dependency>
<groupId>info.blockchain</groupId>
<artifactId>api</artifactId>
<version>LATEST</version>
</dependency>
Installation viaNuGet:
PM> Install-Package BlockchainAPI
Composer install support is available. Or, download/clone the repository. Copy the src/ folder into your project and add:
require_once('src/Blockchain.php');