Dokumentace systému Steamworks
ISteamNews Interface
Provides access to the Steam News functionality.

For more info on how to use the Steamworks Web API please see the Web API Overview.

GetNewsForApp

GET https://api.steampowered.com/ISteamNews/GetNewsForApp/v2/
NameTypeRequiredDescription
appiduint32AppID to retrieve news for
maxlengthuint32Maximum length for the content to return, if this is 0 the full content is returned, if it's less then a blurb is generated to fit.
enddateuint32Retrieve posts earlier than this date (unix epoch timestamp)
countuint32# of posts to retrieve (default 20)
feedsstringComma-seperated list of feed names to return news for

Get the news for the specified app.

This method has previous versions which are no longer officially supported. They will continue to be usable but it's highly recommended that you use the latest version.
Change history:
  • Version 2 - Removes element names from arrays

GetNewsForAppAuthed

GET https://partner.steam-api.com/ISteamNews/GetNewsForAppAuthed/v2/
NameTypeRequiredDescription
keystringSteamworks Web API publisher authentication key.
appiduint32AppID to retrieve news for
maxlengthuint32Maximum length for the content to return, if this is 0 the full content is returned, if it's less then a blurb is generated to fit.
enddateuint32Retrieve posts earlier than this date (unix epoch timestamp)
countuint32# of posts to retrieve (default 20)
feedsstringComma-seperated list of feed names to return news for

Get the news for the specified app. Publisher only version that can return info for unreleased games.

This method has previous versions which are no longer officially supported. They will continue to be usable but it's highly recommended that you use the latest version.
Change history:
  • Version 2 - Removes element names from arrays

NOTE: This call requires the publisher API key that owns the specified App ID to use this method. As such this API MUST be called from a secure server, and can never be used directly by clients!