Skip to content

Piping Get-CoinbaseProducts to Get-CoinbaseProductTicker #4

Description

@jasonpearce

I'd like to be able to pipe values to Get-CoinbaseProductTicker. Assuming that Get-CoinbaseProductTicker will eventually report pricing for all trading pairs, I'd like to pipe IDs to it. I'd like for the following examples to work.

Get-CoinbaseProducts | Get-CoinbaseProductTicker
Get-CoinbaseProducts | Get-CoinbaseProductTicker -ProdcutID $_.ID

$Products = Get-CoinbaseProducts | Where-Object {$_.ID -like "BTC-*"}
$Products.ID =Get-CoinbaseProductTicker

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions