Get-BirdWeatherGraphQLStations
SYNOPSIS
List all public stations
SYNTAX
__AllParameterSets
Get-BirdWeatherGraphQLStations [[-After] <string>] [[-Before] <string>] [[-First] <int>]
[[-Last] <int>] [[-Query] <string>] [[-PeriodCount] <int>] [[-PeriodUnit] <string>]
[[-PeriodFrom] <datetime>] [[-PeriodTo] <datetime>] [[-PeriodTimezone] <string>]
[[-NorthEastLat] <double>] [[-NorthEastLon] <double>] [[-SouthWestLat] <double>]
[[-SouthWestLon] <double>] [[-Bats] <bool>] [[-Property] <string[]>] [[-MaxResults] <int>]
[-AllResults] [-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BWGStations
DESCRIPTION
The Get-BirdWeatherGraphQLStations cmdlet invokes the stations query of the BirdWeather GraphQL API
List all public stations.
By default the following properties are returned, use the Property parameter to select other properties: audioUrl, continent, coords.lat, coords.lon, country, earliestDetectionAt, eclipse, edition, hasProbabilities, id, latestDetectionAt, location, locationPrivacy, locationPrivacyRadius, minConfidence, minProbability, minScore, name, notes, openWeather, portableDetections, source, state, type, videoUrl
EXAMPLES
EXAMPLE 1
Get-BirdWeatherGraphQLStations
Returns the result of the stations query of the BirdWeather GraphQL API
EXAMPLE 2
Get-BirdWeatherGraphQLStations -PeriodCount 7 -PeriodUnit 'day'
Returns the result for the last 7 days
EXAMPLE 3
Get-BirdWeatherGraphQLStations -Property 'audioUrl', 'continent'
Only returns the defined properties
EXAMPLE 4
Get-BirdWeatherGraphQLStations -AllResults -MaxResults 100
Returns up to 100 nodes by following the pagination cursor
PARAMETERS
-After
Returns the elements in the list that come after the specified cursor.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-AllResults
Returns all nodes by following the pagination cursor When using this parameter there is no need to use the After parameter, the page size is set with the First parameter (default 100)
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: ''
-Bats
Restrict to bat-edition stations (bat-edition hardware or admin-enabled bat support)
Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 14
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Before
Returns the elements in the list that come before the specified cursor.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-First
Returns the first n elements from the list.
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Last
Returns the last n elements from the list.
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 3
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-MaxResults
The maximum number of nodes that are returned when using AllResults By default all nodes are returned
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 16
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-NorthEastLat
North-east bounding box coordinates - Latitude
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 10
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-NorthEastLon
North-east bounding box coordinates - Longitude
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 11
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PeriodCount
Time period for query - Number of units of time
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 5
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PeriodFrom
Time period for query - From date, or an exact ISO 8601 date-time
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 7
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PeriodTimezone
Time period for query - Timezone for from/to dates (and date-times without an offset)
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 9
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PeriodTo
Time period for query - To date, or an exact ISO 8601 date-time
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 8
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-PeriodUnit
Time period for query - Unit of time (minute/hour/day/week/month/year)
Allowed values: ‘minute’, ‘hour’, ‘day’, ‘week’, ‘month’, ‘year’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 6
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Property
The properties (GraphQL fields) of the Station to return Nested properties are defined with a dot, such as species.commonName Default values: audioUrl, continent, coords.lat, coords.lon, country, earliestDetectionAt, eclipse, edition, hasProbabilities, id, latestDetectionAt, location, locationPrivacy, locationPrivacyRadius, minConfidence, minProbability, minScore, name, notes, openWeather, portableDetections, source, state, type, videoUrl
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 15
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Query
Optional search query
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 4
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (data & errors) instead of only the requested data including the pageInfo & totalCount
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: ''
-SouthWestLat
South-west bounding box coordinates - Latitude
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 12
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SouthWestLon
South-west bounding box coordinates - Longitude
Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 13
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
OUTPUTS
NOTES
GraphQL : Query.stations Returns : The nodes of the StationConnection connection