zaifapi クラス : Trades(string) メソッド

説明

全ユーザの取引履歴を取得します。

構文

zaifapiInstance.Trades(string currencyPair)

引数

クラス名前説明
stringcurrencyPair通貨ペア。

返り値

クラス説明
zaifres要求に対する応答、JSON文字列を持つ。

サンプルコード

1:

zaifapi zaifapiIns = new zaifapi();

2:

zaifres zaifresIns = zaifapiIns.Trades("btc_jpy");

3:

string jsonStr = zaifresIns.Result;

JSON-text 例

[{"date": 1557967611, "price": 906970.0, "amount": 0.035, "tid": 142521931, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967609, "price": 906975.0, "amount": 0.001, "tid": 142521929, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967605, "price": 906965.0, "amount": 0.001, "tid": 142521926, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967603, "price": 906970.0, "amount": 0.01, "tid": 142521924, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967601, "price": 906970.0, "amount": 0.0478, "tid": 142521923, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967601, "price": 906965.0, "amount": 0.0022, "tid": 142521922, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967601, "price": 906965.0, "amount": 0.001, "tid": 142521921, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 906995.0, "amount": 0.0022, "tid": 142521920, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967599, "price": 907000.0, "amount": 0.0025, "tid": 142521919, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 907000.0, "amount": 0.2906, "tid": 142521918, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 907000.0, "amount": 0.001, "tid": 142521917, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 907000.0, "amount": 0.01, "tid": 142521916, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 907000.0, "amount": 0.0489, "tid": 142521915, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967599, "price": 906995.0, "amount": 0.001, "tid": 142521914, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967598, "price": 907000.0, "amount": 0.0155, "tid": 142521913, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967598, "price": 906995.0, "amount": 0.0032, "tid": 142521912, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967597, "price": 906995.0, "amount": 0.001, "tid": 142521911, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967597, "price": 906995.0, "amount": 0.0016, "tid": 142521910, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967595, "price": 906995.0, "amount": 0.0016, "tid": 142521909, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967595, "price": 906995.0, "amount": 0.001, "tid": 142521908, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967595, "price": 906990.0, "amount": 0.001, "tid": 142521907, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967595, "price": 906730.0, "amount": 0.0069, "tid": 142521906, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967578, "price": 906000.0, "amount": 0.046, "tid": 142521894, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967576, "price": 906000.0, "amount": 0.05, "tid": 142521893, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967575, "price": 906000.0, "amount": 0.004, "tid": 142521892, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967575, "price": 905995.0, "amount": 0.001, "tid": 142521891, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967574, "price": 905985.0, "amount": 0.001, "tid": 142521890, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967573, "price": 905980.0, "amount": 0.001, "tid": 142521889, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967568, "price": 905805.0, "amount": 0.02, "tid": 142521888, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967550, "price": 905405.0, "amount": 0.001, "tid": 142521886, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967546, "price": 905000.0, "amount": 0.1069, "tid": 142521885, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967546, "price": 905005.0, "amount": 0.001, "tid": 142521884, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967546, "price": 905005.0, "amount": 0.0031, "tid": 142521883, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967546, "price": 905010.0, "amount": 0.001, "tid": 142521882, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967546, "price": 905010.0, "amount": 0.001, "tid": 142521881, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967541, "price": 905775.0, "amount": 0.0015, "tid": 142521879, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967538, "price": 906000.0, "amount": 0.489, "tid": 142521878, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967538, "price": 906000.0, "amount": 0.05, "tid": 142521877, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967538, "price": 906000.0, "amount": 0.1, "tid": 142521876, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967537, "price": 906000.0, "amount": 0.005, "tid": 142521875, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967536, "price": 906000.0, "amount": 0.0298, "tid": 142521874, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967536, "price": 906000.0, "amount": 0.05, "tid": 142521873, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967535, "price": 906000.0, "amount": 0.01, "tid": 142521871, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967535, "price": 906000.0, "amount": 0.0015, "tid": 142521870, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967535, "price": 906000.0, "amount": 0.187, "tid": 142521869, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967534, "price": 906000.0, "amount": 0.07, "tid": 142521868, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967534, "price": 906000.0, "amount": 0.5, "tid": 142521867, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967534, "price": 906000.0, "amount": 0.05, "tid": 142521866, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967533, "price": 906000.0, "amount": 0.01, "tid": 142521865, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967533, "price": 905985.0, "amount": 0.5, "tid": 142521864, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905980.0, "amount": 0.0031, "tid": 142521863, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905945.0, "amount": 0.0764, "tid": 142521862, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905940.0, "amount": 0.0031, "tid": 142521861, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905675.0, "amount": 0.014, "tid": 142521860, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905575.0, "amount": 0.01, "tid": 142521859, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905490.0, "amount": 0.005, "tid": 142521858, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967533, "price": 905470.0, "amount": 0.4896, "tid": 142521857, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967532, "price": 905470.0, "amount": 0.001, "tid": 142521856, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967532, "price": 905480.0, "amount": 0.0094, "tid": 142521855, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967531, "price": 905480.0, "amount": 0.0102, "tid": 142521852, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967531, "price": 905485.0, "amount": 0.0048, "tid": 142521851, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967531, "price": 905490.0, "amount": 0.005, "tid": 142521850, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967531, "price": 905585.0, "amount": 0.028, "tid": 142521849, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967531, "price": 905580.0, "amount": 0.001, "tid": 142521848, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967531, "price": 905495.0, "amount": 0.001, "tid": 142521847, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967531, "price": 905490.0, "amount": 0.015, "tid": 142521846, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967527, "price": 905660.0, "amount": 0.001, "tid": 142521841, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967525, "price": 905675.0, "amount": 0.001, "tid": 142521840, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967525, "price": 905945.0, "amount": 0.005, "tid": 142521839, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967524, "price": 906010.0, "amount": 0.318, "tid": 142521838, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967524, "price": 906015.0, "amount": 0.0031, "tid": 142521837, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967522, "price": 906010.0, "amount": 0.186, "tid": 142521835, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967522, "price": 906015.0, "amount": 0.001, "tid": 142521834, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967517, "price": 906015.0, "amount": 0.001, "tid": 142521833, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967515, "price": 906005.0, "amount": 0.496, "tid": 142521830, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967515, "price": 906005.0, "amount": 0.001, "tid": 142521829, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967514, "price": 906005.0, "amount": 0.001, "tid": 142521824, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967514, "price": 906010.0, "amount": 0.001, "tid": 142521823, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967514, "price": 906015.0, "amount": 0.001, "tid": 142521822, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967512, "price": 906005.0, "amount": 0.498, "tid": 142521821, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967512, "price": 906010.0, "amount": 0.001, "tid": 142521820, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967512, "price": 906010.0, "amount": 0.001, "tid": 142521819, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967499, "price": 906010.0, "amount": 0.001, "tid": 142521811, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967498, "price": 906340.0, "amount": 0.1603, "tid": 142521810, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967498, "price": 906465.0, "amount": 0.01, "tid": 142521809, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967497, "price": 906290.0, "amount": 0.02, "tid": 142521808, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967497, "price": 906010.0, "amount": 0.0147, "tid": 142521807, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967497, "price": 905995.0, "amount": 0.01, "tid": 142521806, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967496, "price": 905910.0, "amount": 0.005, "tid": 142521805, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967494, "price": 905845.0, "amount": 0.3305, "tid": 142521804, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967494, "price": 905845.0, "amount": 0.1695, "tid": 142521803, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967493, "price": 905845.0, "amount": 0.0152, "tid": 142521802, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967493, "price": 905845.0, "amount": 0.4341, "tid": 142521801, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967493, "price": 905490.0, "amount": 0.0332, "tid": 142521800, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967493, "price": 905490.0, "amount": 0.0031, "tid": 142521799, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905495.0, "amount": 0.001, "tid": 142521798, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905495.0, "amount": 0.001, "tid": 142521797, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905495.0, "amount": 0.001, "tid": 142521796, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905495.0, "amount": 0.001, "tid": 142521795, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905835.0, "amount": 0.05, "tid": 142521794, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905835.0, "amount": 0.0059, "tid": 142521793, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905845.0, "amount": 0.012, "tid": 142521792, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967493, "price": 905835.0, "amount": 0.001, "tid": 142521791, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967493, "price": 905835.0, "amount": 0.0031, "tid": 142521790, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967492, "price": 905845.0, "amount": 0.0167, "tid": 142521789, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967492, "price": 905840.0, "amount": 0.001, "tid": 142521788, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967492, "price": 905840.0, "amount": 0.0023, "tid": 142521787, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967491, "price": 905835.0, "amount": 0.097, "tid": 142521785, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967491, "price": 905835.0, "amount": 0.01, "tid": 142521784, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967486, "price": 905485.0, "amount": 0.5, "tid": 142521780, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967482, "price": 905485.0, "amount": 0.499, "tid": 142521778, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967482, "price": 905490.0, "amount": 0.001, "tid": 142521777, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967479, "price": 905845.0, "amount": 0.0023, "tid": 142521775, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967474, "price": 905890.0, "amount": 0.048, "tid": 142521774, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967474, "price": 905885.0, "amount": 0.001, "tid": 142521773, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967474, "price": 905875.0, "amount": 0.001, "tid": 142521772, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967473, "price": 905000.0, "amount": 0.0715, "tid": 142521771, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905005.0, "amount": 0.001, "tid": 142521770, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905005.0, "amount": 0.0023, "tid": 142521769, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905090.0, "amount": 0.001, "tid": 142521768, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905220.0, "amount": 0.001, "tid": 142521767, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905500.0, "amount": 0.0187, "tid": 142521766, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967473, "price": 905505.0, "amount": 0.0045, "tid": 142521765, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967462, "price": 905890.0, "amount": 0.001, "tid": 142521763, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967462, "price": 906005.0, "amount": 0.01, "tid": 142521762, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967459, "price": 906005.0, "amount": 0.001, "tid": 142521761, "currency_pair": "btc_jpy", "trade_type": "bid"}, {"date": 1557967459, "price": 906010.0, "amount": 0.12, "tid": 142521760, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967457, "price": 906010.0, "amount": 0.88, "tid": 142521759, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 905500.0, "amount": 0.01, "tid": 142521758, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 905500.0, "amount": 0.2417, "tid": 142521757, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 905600.0, "amount": 0.0763, "tid": 142521756, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 906465.0, "amount": 0.022, "tid": 142521755, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 906465.0, "amount": 0.009, "tid": 142521754, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967455, "price": 906470.0, "amount": 0.001, "tid": 142521753, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.0431, "tid": 142521752, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.066, "tid": 142521751, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.01, "tid": 142521750, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.0161, "tid": 142521749, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.05, "tid": 142521748, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.02, "tid": 142521747, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967454, "price": 906730.0, "amount": 0.1, "tid": 142521746, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967453, "price": 906730.0, "amount": 0.2385, "tid": 142521745, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967452, "price": 906730.0, "amount": 0.02, "tid": 142521744, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967451, "price": 906730.0, "amount": 0.02, "tid": 142521743, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967451, "price": 906730.0, "amount": 0.06, "tid": 142521742, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967451, "price": 906730.0, "amount": 0.005, "tid": 142521741, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967450, "price": 906730.0, "amount": 0.05, "tid": 142521740, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967450, "price": 906730.0, "amount": 0.02, "tid": 142521739, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967450, "price": 906730.0, "amount": 0.1114, "tid": 142521738, "currency_pair": "btc_jpy", "trade_type": "ask"}, {"date": 1557967450, "price": 906730.0, "amount": 0.02, "tid": 142521737, "currency_pair": "btc_jpy", "trade_type": "ask"}]

注意

現物公開APIです。API キーと秘密キーを設定しなくても情報を取得できます。

引数に有効な通貨ペア名を指定した場合、その通貨ペアの取引履歴が返ります。

取得できる取引履歴は最新のものから最大150件です。

要求に対する応答として zaifres クラスのインスタンスが返ります。このインスタンスが応答の結果の JSON-text を保持しています。

API エラーが発生した場合、以下の様な JSON-text が返ります。

{"error": "..."}

"error" は、それぞれの API エラーで異なります。

HTTP エラーが発生した場合、以下の様な JSON-text が返ります。

{"success": -1000,"error": { "statuscode" : 404, "message": "Not Found"}}

"statuscode" と "message" は、それぞれの HTTP エラーで異なります。

要求がタイムアウトした場合、以下の JSON-text が返ります。

{"success": -1001,"error": { "typename" : "TaskCanceledException", "message": "タスクが取り消されました。"}}

その他の例外が発生して要求が失敗した場合、以下の様な JSON-text が返ります。

{"success": -1002,"error": { "typename" : "...", "message": "..."}}

"typename" と "message" は、それぞれの例外で異なります。

参照リンク

Copyright © Cooker All rights reserved.