Skip to content

Latest commit

 

History

History
127 lines (97 loc) · 2.79 KB

Get-SteamNews.md

File metadata and controls

127 lines (97 loc) · 2.79 KB
external help file Module Name online version schema
SteamPS-help.xml
SteamPS
2.0.0

Get-SteamNews

SYNOPSIS

Returns the latest news of a game specified by its AppID.

SYNTAX

Get-SteamNews [-AppID] <Int32> [[-Count] <Int32>] [[-MaxLength] <Int32>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Returns the latest news of a game specified by its AppID.

EXAMPLES

EXAMPLE 1

Get-SteamNews -AppID 440

Lists number of news that are available for the AppID.

EXAMPLE 2

Get-SteamNews -AppID 440 -Count 1

Retrieves 1 (the latest) news item for the AppID 440.

PARAMETERS

-AppID

AppID of the game you want the news of.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-Count

How many news entries you want to get returned.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-MaxLength

Maximum length of each news entry.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.Int32

OUTPUTS

Outputs an object containing:

- GID: The ID of the news item.

- Title: The title of the news item.

- Url: The URL of the news item.

- IsExternalUrl: A boolean indicating if the URL is external.

- Author: The author of the news item.

- Contents: The content of the news item.

- FeedLabel: The label of the news feed.

- Date: The date and time when the news item was published.

- FeedName: The name of the news feed.

- FeedType: The type of the news feed.

- AppID: The AppID of the game associated with the news item.

NOTES

Author: Frederik Hjorslelv Nylander

RELATED LINKS

https://hjorslev.github.io/SteamPS/Get-SteamNews.html