An API Wrapper for Steem written in Java
This project allows you to easily access data stored in the Steem blockchain. The project has been initialized by dez1337 on steemit.com.
Example below is for latest 0.4.x. Visit https://jitpack.io/#marvin-we/steem-java-api-wrapper/0.4.6-20180926-01PRE/steemj-core to get a list of available builds.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
compile 'com.github.marvin-we.steem-java-api-wrapper:steemj-core:0.4.x-SNAPSHOT'
}
File: pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
...
<dependency>
<groupId>com.github.marvin-we.steem-java-api-wrapper</groupId>
<artifactId>steemj-core</artifactId>
<version>0.4.x-SNAPSHOT</version>
</dependency>
SteemJ binaries are pushed into the maven central repository and can be integrated with a bunch of build management tools like Maven.
Please have a look at the Wiki to find examples for Maven, Ivy, Gradle and others.
The project requires Maven and Java to be installed on your machine. It can be build with the default maven command:
mvn clean package
The resulting JAR can be found in the target directory as usual. Please notice that some integration tests require different private keys. Please provide them as -D parameter or use the properties file ( src/test/resources/accountDetailsUsedDuringTests.properties ) to define them. If you do not want to execute tests at all add "-Dmaven.test.skip" to the mvn call which skips the test execution during the build.
For bugs or feature requests please create a GitHub Issue.
For general discussions or questions you can also:
The sample module of the SteemJ project provides showcases for the most common acitivies and operations users want to perform.
Beside that you can find a lot of snippets and examples in the different Wiki sections.