crclayton / custom-cortana-commands-template

This is a template for how to register custom Cortana commands on Windows 10.
84 stars 56 forks source link

Command Template: Pushover.net #8

Closed ScottJWalter closed 4 years ago

ScottJWalter commented 4 years ago

While UWP adds some restrictions in what you can do to the machine you're on, you can make REST calls to outside services, opening up some interesting IoT possibilities. I threw together a quick-and-dirty wrapper around a simple notification call through the Pushover.net service. It demonstrates how you can construct a REST call (in this case, an HTTP POST with a JSON payload) and fire information to another service. This example involves adding a command to the CustomVoiceCommandDefinitions.xml file, and linking that command to a new entry in CortanaFunctions.cs.

crclayton commented 4 years ago

Looks great -- thanks!