Get-BirdWeatherRESTStationSoundscapes
SYNOPSIS
List Soundscapes / Soundscape Info
SYNTAX
List (Default)
Get-BirdWeatherRESTStationSoundscapes [-Token <string>] [-Cursor <long>] [-Detections <bool>]
[-From <datetime>] [-Limit <long>] [-SpeciesId <long>] [-To <datetime>] [-AllResults] [-Raw]
ById
Get-BirdWeatherRESTStationSoundscapes [-Id] <long> [-Token <string>] [-Detections <bool>] [-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BirdWeatherRESTStationSoundscapesById
- Get-BWRStationSoundscapes
- Get-BWRStationSoundscapesById
DESCRIPTION
Parameter set [ List ] - The Get-BirdWeatherRESTStationSoundscapes cmdlet invokes the GET method of the /stations/{token}/soundscapes endpoint (List Soundscapes)
Lists all soundscapes associated with this station in timestamp descending order.
Parameters should be provided as query parameters. Pagination is cursor-based using limit/offset params.
Parameter set [ ById ] - The Get-BirdWeatherRESTStationSoundscapes cmdlet invokes the GET method of the /stations/{token}/soundscapes/{id} endpoint (Soundscape Info)
Retrieves information for the soundscape with the given ID.
EXAMPLES
EXAMPLE 1
Get-BirdWeatherRESTStationSoundscapes
Returns the result of the /stations/{token}/soundscapes endpoint
EXAMPLE 2
Get-BirdWeatherRESTStationSoundscapes -Token 21934
Uses the defined station token (or station ID) instead of the station token that was stored with Add-BirdWeatherAPIKey
EXAMPLE 3
Get-BirdWeatherRESTStationSoundscapes -Limit 10
Returns the result of the /stations/{token}/soundscapes endpoint limited to 10 items
EXAMPLE 4
Get-BirdWeatherRESTStationSoundscapes -AllResults
Returns every item from the /stations/{token}/soundscapes endpoint by following the pagination
EXAMPLE 5
Get-BirdWeatherRESTStationSoundscapes -Id 12297900660
Returns the result of the /stations/{token}/soundscapes/{id} endpoint
EXAMPLE 6
Get-BirdWeatherRESTStationSoundscapes -Id 12297900660 -Token 21934
Uses the defined station token (or station ID) instead of the station token that was stored with Add-BirdWeatherAPIKey
PARAMETERS
-AllResults
Returns all items from the endpoint by following the pagination
When using this parameter there is no need to use the cursor or page parameters Unless the limit parameter is set, the largest page size is used
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Cursor
The ID of the last soundscape to begin pagination from.
Valid range: 1 - 9223372036854775807
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Detections
Optionally include soundscape detections in JSON response (default: false). Default value when not set: false
Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-From
The timestamp in ISO8601 format to filter soundscapes from (inclusive). Accepts a date, it is sent to the API in UTC (ISO 8601)
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Id
Soundscape ID.
Valid range: 1 - 9223372036854775807
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Limit
The maximum number of soundscapes to return (max 100, default: 100). Default value when not set: 100
Valid range: 1 - 100
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (including the success flag) instead of only the results
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SpeciesId
List only soundscapes with detections for the given species.
Valid range: 1 - 9223372036854775807
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-To
The timestamp in ISO8601 format to filter soundscapes to (inclusive). Accepts a date, it is sent to the API in UTC (ISO 8601)
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Token
Defines the station token, or the numeric station ID (such as 21934) of a public station or when an administrator API token is used
The PUC-21934 style name of a station is not accepted by the API
By default the station token defined by Add-BirdWeatherAPIKey is used
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- StationToken
- StationId
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.Int64
OUTPUTS
NOTES
Endpoint : GET /stations/{token}/soundscapes Endpoint : GET /stations/{token}/soundscapes/{id}