Skip to content

Instantly share code, notes, and snippets.

@throughnothing
Created December 2, 2013 18:39

Revisions

  1. throughnothing created this gist Dec 2, 2013.
    3 changes: 3 additions & 0 deletions coinbase-price.pl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/usr/bin/env perl
    use v5.10; use ojo;
    say g('https://coinbase.com/api/v1/prices/buy')->json->{subtotal}{amount};