Invertee / CoinbasePro-Powershell

Powershell module for the CoinbasePro API.
MIT License
11 stars 6 forks source link
coinbase-pro gdax powershell powershell-module

Powershell Module for accessing the Coinbase Pro currency exchange API.

Install (Requires PowerShellGet)

Install-Module -Name CoinbasePro-Powershell

Usage

Public Requests

Authenticated Requests

Accounts

Authenticating with API key

Keys and secrets are only stored in memory and should be passed to the module when running commands. Editing PSDefaultParameterValues can be a useful way of passing the API details to the module.

Production API:

$PSDefaultParameterValues = @{"*Coinbase*:APIKEY" = "KEYHERE";"*Coinbase*:APIPHRASE" = "PHRASEHERE";"*Coinbase*:APISECRET" = "SECRETHERE"}

Sandbox API:

$PSDefaultParameterValues = @{"*Coinbase*:APIKEY" = "KEYHERE";"*Coinbase*:APIPHRASE" = "PHRASEHERE";"*Coinbase*:APISECRET" = "SECRETHERE";"*Coinbase*:SandboxAPI" = $true}