javaSteam is full-featured SteamAPI wrapper fo JVM. For now it cover about 70-80% of public steamAPI endpoint, and provides easy access to it. It provides also marketplace tool for fetching and querying data from steam marketplace.
- Check csgo server status (Example)
- Fetch detailed steam store data
- Search in marketplace (Example)
- Get data abount achievements and game stats
- Get steam users data
(Soon) Dota 2 data
Library for now is in pre-release stage. Why? All implementations are not finished yet. There is lack of unit tests (some test you can find, howover few of them)
But library is working and usable!
All methods have it's own asynchronous counterpart. Library handles async by Java 8 CompletableFuture<>
.
class Main {
public static void Main(String[] args) {
// Initialize SteamAPI. There is more ways to do this!
SteamAPI.initialize("Your api key");
// Expolore api
// Returns MarketplaceService which privides access to steam marketplace, obviously
MarketplaceService marketplace = new SteamMarketplace();
// Fetch data
// It basically searches marketplace for query.
MarketplaceListings query = marketplace.searchInMarketplace("ancient", 100);
}
}
repositories {
maven {
url 'https://jitpack.io'
}
}
dependencies {
// Main API library
compile 'com.github.l7ssha:javasteam:1.5.5-PRE'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.l7ssha.javasteam</groupId>
<artifactId>javasteam</artifactId>
<version>1.5.5-PRE</version>
</dependency>
resolvers += "jitpack" at "https://jitpack.io"
libraryDependencies += "com.github.l7ssha" % "javasteam" % "1.5.5-PRE"
- Document all data classes properties (nearly done)
- Implement Dota 2 endpoints
- Extend wiki