Exemplo n.º 1
0
 /// <summary>
 /// Get the Steam level for the user
 /// </summary>
 /// <param name="steamID">Steam ID of the user</param>
 /// <returns></returns>
 public int GetSteamLevel(long steamID)
 {
     ThrowMissingApiKey();
     return(PlayerServiceEndpoints.GetSteamLevel(ApiKey, steamID));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get a list of the games the user has recently played
 /// </summary>
 /// <param name="steamID">Steam ID of the user</param>
 /// <param name="count">Number of recent games to get</param>
 /// <returns></returns>
 public List <UserAppPlaytime> GetRecentlyPlayedGames(long steamID, int count = 10)
 {
     ThrowMissingApiKey();
     return(PlayerServiceEndpoints.GetRecentlyPlayedGames(ApiKey, steamID, count));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Returns a list of the apps owned by the user
 /// </summary>
 /// <param name="steamID">Steam ID of the user</param>
 /// <param name="includeAppInfo">Include info about the apps such as name</param>
 /// <param name="includePlayedFreeGames">Include free games that have been played by the user</param>
 /// <returns></returns>
 public List <OwnedApp> GetOwnedApps(long steamID, bool includeAppInfo = true, bool includePlayedFreeGames = false)
 {
     ThrowMissingApiKey();
     return(PlayerServiceEndpoints.GetOwnedApps(ApiKey, steamID, includeAppInfo, includePlayedFreeGames));
 }