public class SteamNews extends SteamWebApiInterface
SteamNews class.
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamNews(SteamWebApiClient client)
Constructor for SteamNews.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<SteamNewsItem>> |
getNewsForApp(int appId)
getNewsForApp.
|
CompletableFuture<List<SteamNewsItem>> |
getNewsForApp(int appId,
int maxLength,
int endDate,
int count,
String feeds)
getNewsForApp.
|
getSteamResult
asCollectionOf, asListOf, builder, configureBuilder, fromJson, fromJson, handleError, sendRequest
public SteamNews(SteamWebApiClient client)
Constructor for SteamNews.
client
- a SteamWebApiClient
objectpublic CompletableFuture<List<SteamNewsItem>> getNewsForApp(int appId)
getNewsForApp.
appId
- a intCompletableFuture
objectpublic CompletableFuture<List<SteamNewsItem>> getNewsForApp(int appId, int maxLength, int endDate, int count, String feeds)
getNewsForApp.
appId
- a intmaxLength
- a intendDate
- a intcount
- a intfeeds
- a String
objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.