diff --git a/lib/zaif.rb b/lib/zaif.rb index 8bbe5ed..09664e5 100644 --- a/lib/zaif.rb +++ b/lib/zaif.rb @@ -62,6 +62,13 @@ def get_depth(currency_code, counter_currency_code = "jpy") return json end + # Get currencies of *currency_code* + # @param [String] currency_code Base currency code + def get_currencies(currency_code) + json = get_ssl(@zaif_public_url + "currencies/" + currency_code) + return json + end + # # Trade API #