-
Notifications
You must be signed in to change notification settings - Fork 0
/
bora-krw.adapter.json
63 lines (62 loc) · 2.05 KB
/
bora-krw.adapter.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"adapterHash": "0xf6c3a6a1f072e5e32ea26bf7f588522d6f39ed16dfd1e7830b1828452a0c43f0",
"name": "BORA-KRW",
"decimals": 8,
"feeds": [
{
"name": "Coinone-BORA-KRW",
"definition": {
"url": "https://api.coinone.co.kr/public/v2/ticker_new/KRW/BORA",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "PARSE", "args": ["tickers"] },
{ "function": "INDEX", "args": 0 },
{ "function": "PARSE", "args": ["last"] },
{ "function": "POW10", "args": 8 },
{ "function": "ROUND" }
]
}
},
{
"name": "Bithumb-BORA-KRW",
"definition": {
"url": "https://api.bithumb.com/public/ticker/BORA_KRW",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "PARSE", "args": ["data", "closing_price"]},
{ "function": "POW10", "args": 8 },
{ "function": "ROUND" }
]
}
},
{
"name": "Upbit-BORA-KRW",
"definition": {
"url": "https://api.upbit.com/v1/ticker?markets=KRW-BORA",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "INDEX", "args": 0 },
{ "function": "PARSE", "args": ["trade_price"]},
{ "function": "POW10", "args": 8 },
{ "function": "ROUND" }
]
}
},
{
"name": "Korbit-BORA-KRW",
"definition": {
"url": "https://api.korbit.co.kr/v1/ticker/detailed?currency_pair=bora_krw",
"headers": { "Content-Type": "application/json" },
"method": "GET",
"reducers": [
{ "function": "PARSE", "args": ["last"]},
{ "function": "POW10", "args": 8 },
{ "function": "ROUND" }
]
}
}
]
}