Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

PowerShell - DasKeyboard Q

PowerShell wrapper for Das Keyboard Q API.

YouTube Video Demo

Alt text

This repository currently contains one script

  • DasKeyboardQAPI_functions.ps1

Plans

  • Convert DasKeyboardQAPI_functions.ps1 script to a PowerShell Module. This change will take place once DAS Keyboard Q Windows Client is out of Beta.
  • Date filtering on Get-DasQSignal

Installation

  1. Download Das Keyboard Q Desktop Version 2.0.0 (https://www.daskeyboard.io/get-started/download/)
  2. Download DasKeyboardQAPI_functions.ps1 to your local computer
  3. Dot-source call the script to load the functions into your current PowerShell session
   . .\DasKeyboardQAPI_functions.ps1
  1. The first time you use Cloud Signals you will be prompted for the Client ID and Client Secret which you will need to obtain from https://q.daskeyboard.com/account. This information will then be saved to file dasq.cred at the following path C:\Users<Username>.

Examples

Sending Signals

Local API Endpoint

Send-DasQSignal -Name "Local Test Name" -Key KEY_L -Colour Green -Effect BLINK -Message "Local Test Message" -Endpoint Local

Cloud API Endpoint

Send-DasQSignal -Name "Cloud Test Name" -Key KEY_C -Colour Blue -Effect BLINK -Message "Cloud Test Message" -Endpoint Cloud

Getting Signals

Get-DasQSignal -Endpoint Cloud

Removing Signals

Removal by id

Remove-DasQSignal -id '-123'

Removal by Pipeline

Get-DasQSignal -Endpoint Cloud | Remove-DasQSignal

Updating Signals

Update by id

Update-DasQSignal -id '1234567' -isRead $true 

Update by Pipeline (Cloud Only)

Get-DasQSignal -Endpoint Cloud | Update-DasQSignal -isRead $true -isArchived $true -isMuted $true

Contributing

Contributions are welcome, please open issue on what functionality you would like to see added/contribute or simply send a pull request.

About

PowerShell wrapper for Das Keyboard Q API

Topics

Resources

Releases

No releases published

Packages

No packages published