Skip to content

Repository files navigation

Library SteamAPI - this wrapper for Steam WEB API, for Java.

codecovBuild StatusMaven Central

Example

classSteamApiExample {
publicstaticvoidmain(String[] args) throwsSteamApiException, NoSuchElementException {
SteamApisteamApi = SteamApi.getInstance("KEY");
SteamIdsteamId = newSteamId(76561198201241926);
PlayerSummariesplayerSummaries = steamApi.getSteamUserInterface()
.getPlayerSummaries(steamId)
.orElseThrow();
System.out.println("Result: " + playerSummaries.getDisplayName());
}
}

Usage in your project

Maven

<dependency>
<groupId>org.steambuff</groupId>
<artifactId>SteamAPI</artifactId>
<version>{REPLACE_TO_VERSION}</version>
</dependency>

Gradle

compile 'org.steambuff:SteamAPI:{REPLACE_TO_VERSION}'

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

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages