Skip to content

SteamBuff/SteamAPI

Repository files navigation

Library SteamAPI - this wrapper for Steam API, only web, for Java.

codecov Build Status Maven Central

Example

class SteamApiExample {
    
    public static void main(String[] args) throws SteamApiException {
        SteamApi steamApi = SteamApi.getInstance("KEY");
        SteamId steamId = new SteamId(76561198201241926);
        List<PlayerSummaries> playerSummaries = steamApi.getSteamUserInterface().getPlayerSummaries(steamId);
        if (playerSummaries.size() > 0) {
            System.out.println("Result: " + playerSummaries.getDisplayName());
        }else{
            System.out.println("Not found user with steamID: " + steamId.toString());
        }
    }
}

Usage in your project

Maven

<dependency>
    <groupId>org.steambuff</groupId>
    <artifactId>SteamAPI</artifactId>
    <version>0.6-1-beta</version>
</dependency>

Gradle

compile 'org.steambuff:SteamAPI:0.5-beta'

Another system

JavaDoc

Available method's

  • GetPlayerSummaries (v0002)
  • GetNewsForApp (v0002)
  • GetGlobalAchievementPercentagesForApp (v0002)
  • GetGlobalStatsForGame (v0001)
  • GetFriendList (v0001)
  • GetPlayerAchievements (v0001)
  • GetUserStatsForGame (v0002)
  • GetOwnedGames (v0001)
  • GetRecentlyPlayedGames (v0001)
  • IsPlayingSharedGame (v0001)
  • GetSchemaForGame (v2)
  • GetPlayerBans (v1)

Additional methods

  • getSteamIdByPage (Get SteamId by profile user)
  • getSteamIdByLogin (Get SteamId by profile login)

About

SteamAPI library (WEB) for Java.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages