Skip to content

Powershell Wrapper for Grocy API

License

Notifications You must be signed in to change notification settings

gen2fish/GrocyPosh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrocyPosh

Powershell wrapper for the Grocy API. Made for use with PoshBot for my family Slack. Works with Powershell Core.

To maintain a persistent connection; you must maintain the variable $global:grocyGlobal with your server and API key.

    $global:grocyGlobal = @{
      uri = 'http(s)://Hostname-or-IP-address' # Port is necessary if you are not using default 80/443
      apikey = '' # Your API Key for Grocy.

If you are using this in with PoshBot, then you'll need to Generate your API in Grocy, then link it with your Slack account with the function;

New-GrocyConfig '<your grocy apikey here>'

This will create a pair with your Slack ID and your Grocy

Grocy

Grocy - https://github.com/grocy/grocy

PoshBot

PoshBot - https://github.com/poshbotio/PoshBot

About

Powershell Wrapper for Grocy API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published