From 45b16854853878176393a3902f97f31d53579fc4 Mon Sep 17 00:00:00 2001 From: Megumi Nakamura Date: Sun, 17 Dec 2017 22:28:36 +0900 Subject: [PATCH] Add get_info2 api --- lib/zaif.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/zaif.rb b/lib/zaif.rb index 8bbe5ed..1a20987 100644 --- a/lib/zaif.rb +++ b/lib/zaif.rb @@ -74,6 +74,14 @@ def get_info return json end + # Get user infomation except for trade_count (light version). + # Need api key. + # @return [Hash] Infomation of user. + def get_info2 + json = post_ssl(@zaif_trade_url, "get_info2", {}) + return json + end + # Get your trade history. # Avalible options: from. count, from_id, end_id, order, since, end, currency_pair # Need api key.