Celerium.BirdWeather Module

Description

This module provides a PowerShell wrapper for the BirdWeather REST API (v1) and the BirdWeather GraphQL API. REST (GET) and GraphQL query requests work as normal, write requests (REST POST) change data on your BirdWeather station, support -WhatIf, & ask for confirmation before a request is sent. GraphQL mutations are blocked. Supports Windows PowerShell 5.1 and PowerShell 7+ on Windows, Linux, & macOS

Celerium.BirdWeather

Add-BirdWeatherAPIKey

Sets your station token & API key used to authenticate API calls

Add-BirdWeatherBaseURI

Sets the base URI for the BirdWeather API connections

ConvertTo-BirdWeatherBaseUri

Converts a BirdWeather url to the base URI that the module uses

ConvertTo-BirdWeatherGraphQLQuery

Builds a GraphQL document from a field path

ConvertTo-BirdWeatherGraphQLSelection

Converts a list of property paths into a GraphQL selection set

ConvertTo-BirdWeatherRESTQueryString

Converts uri filter parameters into a query string

Export-BirdWeatherModuleSettings

Exports the BirdWeather BaseURI, station token, API key, & JSON configuration information to file

Get-BirdWeatherAPIKey

Gets the BirdWeather station token or API key

Get-BirdWeatherBaseURI

Shows the BirdWeather base URI

Get-BirdWeatherGraphQLAllSpecies

Lookup multiple species by IDs

Get-BirdWeatherGraphQLBirdnetSightings

Get the birdnet sightings

Get-BirdWeatherGraphQLCounts

Get the counts

Get-BirdWeatherGraphQLDailyDetectionCounts

Get the daily detection counts

Get-BirdWeatherGraphQLDetections

List all detections

Get-BirdWeatherGraphQLEbirdSightings

Get the ebird sightings

Get-BirdWeatherGraphQLQuery

Sends a custom GraphQL query to the BirdWeather GraphQL API

Get-BirdWeatherGraphQLSearchSpecies

Search for species by common or scientific name

Get-BirdWeatherGraphQLSpecies

Fetch species by ID or exact scientific name

Get-BirdWeatherGraphQLSpeciesDetectedStations

Stations with a valid detection of this species, most recently active first. Capped (default/max 5000)

Get-BirdWeatherGraphQLSpeciesDetectionCounts

Get the detection counts of a species

Get-BirdWeatherGraphQLSpeciesLatestDetections

Most recent valid detection per station (one per station), newest first

Get-BirdWeatherGraphQLSpeciesProbabilities

Get the probabilities of a species

Get-BirdWeatherGraphQLSpeciesStations

List stations with species detection

Get-BirdWeatherGraphQLSpeciesTopDetections

List top detection for each station the species was detected at

Get-BirdWeatherGraphQLSpeciesTranslations

Get the translations of a species

Get-BirdWeatherGraphQLStation

Get the station

Get-BirdWeatherGraphQLStationAccelHistory

Accelerometer sensor data reading history

Get-BirdWeatherGraphQLStationCounts

Get the counts of a station

Get-BirdWeatherGraphQLStationDetectionCounts

Get the detection counts of a station

Get-BirdWeatherGraphQLStationDetections

Get the detections of a station

Get-BirdWeatherGraphQLStationDetectionsHistory

Detection counts history

Get-BirdWeatherGraphQLStationEnvironmentHistory

Environmental sensor data reading history

Get-BirdWeatherGraphQLStationLightHistory

Light sensor data reading history

Get-BirdWeatherGraphQLStationLocationHistory

Location sensor data reading history

Get-BirdWeatherGraphQLStationMagHistory

Magnetometer sensor data reading history

Get-BirdWeatherGraphQLStations

List all public stations

Get-BirdWeatherGraphQLStationSensors

Get the sensors of a station

Get-BirdWeatherGraphQLStationSystemHistory

System info reading history

Get-BirdWeatherGraphQLStationTimeOfDayDetectionCounts

Get the time of day detection counts of a station

Get-BirdWeatherGraphQLStationTopSpecies

Get the top species of a station

Get-BirdWeatherGraphQLTimeOfDayDetectionCounts

Get the time of day detection counts

Get-BirdWeatherGraphQLTopBirdnetSpecies

Get the top birdnet species

Get-BirdWeatherGraphQLTopSpecies

Get the top species

Get-BirdWeatherGraphQLVariable

Gets the GraphQL variables from the parameters of a public function

Get-BirdWeatherModuleSettings

Gets the saved BirdWeather configuration settings

Get-BirdWeatherRESTDetectionsById

Detection Info

Get-BirdWeatherRESTSpeciesById

Lookup Species Info

Get-BirdWeatherRESTStationDetections

List Detections / Detection Info

Get-BirdWeatherRESTStationSoundscapes

List Soundscapes / Soundscape Info

Get-BirdWeatherRESTStationSpecies

Top Species

Get-BirdWeatherRESTStationStats

Fetch Stats

Get-BirdWeatherRESTUriParameter

Gets the query string or request body parameters from a public function

Import-BirdWeatherModuleSettings

Imports the BirdWeather BaseURI, station token, API key, & JSON configuration information to the current session

Invoke-BirdWeatherGraphQLRequest

Makes an API request to BirdWeather GraphQL

Invoke-BirdWeatherRequest

Makes an API request to BirdWeather

Invoke-BirdWeatherRESTRequest

Makes an API request to BirdWeather

New-BirdWeatherRESTSpeciesLookup

Lookup Multiple Species

New-BirdWeatherRESTStationConfig

Update Station Config

New-BirdWeatherRESTStationDetections

Post Detection

New-BirdWeatherRESTStationSoundscapes

Upload Soundscape

Remove-BirdWeatherAPIKey

Removes the station token & API key from the global variables

Remove-BirdWeatherBaseURI

Removes the BirdWeather base URI global variable

Remove-BirdWeatherModuleSettings

Removes the stored BirdWeather configuration folder

Test-BirdWeatherAPIKey

Test the BirdWeather connection & credentials