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/
| Name | Type | Required | Description |
| appid | uint32 | ✔ | AppID to retrieve news for |
| maxlength | uint32 | | Maximum 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. |
| enddate | uint32 | | Retrieve posts earlier than this date (unix epoch timestamp) |
| count | uint32 | | # of posts to retrieve (default 20) |
| feeds | string | | Comma-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/
| Name | Type | Required | Description |
| key | string | ✔ | Steamworks Web API publisher authentication key. |
| appid | uint32 | ✔ | AppID to retrieve news for |
| maxlength | uint32 | | Maximum 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. |
| enddate | uint32 | | Retrieve posts earlier than this date (unix epoch timestamp) |
| count | uint32 | | # of posts to retrieve (default 20) |
| feeds | string | | Comma-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!