Drawethree / javasteam

Most recent full-featured Steam API wrapper for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

javaSteam Build Status

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.

Features

  • 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

Pre-Release

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!

Asynchronous

All methods have it's own asynchronous counterpart. Library handles async by Java 8 CompletableFuture<>.

Quick peek

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);
    }
}

Documentation

Javadoc

Download

Gradle

repositories {
    maven {
        url 'https://jitpack.io'
    }
}

dependencies {
    // Main API library
    compile 'com.github.l7ssha:javasteam:1.5.5-PRE'
}

Maven

<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>

sbt

resolvers += "jitpack" at "https://jitpack.io"

libraryDependencies += "com.github.l7ssha" % "javasteam" % "1.5.5-PRE"

Roadmap

  1. Document all data classes properties (nearly done)
  2. Implement Dota 2 endpoints
  3. Extend wiki

Endpoints

About

Most recent full-featured Steam API wrapper for Java


Languages

Language:Java 100.0%