Skip to content

Commit

Permalink
Merge pull request #105 from Bisonai/feat/fix-invalid-configs
Browse files Browse the repository at this point in the history
Fix invalid configs
  • Loading branch information
nick-bisonai authored Jul 15, 2024
2 parents af98158 + 0a450fa commit e528180
Show file tree
Hide file tree
Showing 10 changed files with 352 additions and 304 deletions.
172 changes: 92 additions & 80 deletions baobab_configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1237,27 +1237,30 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
"name": "daum-CHF-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
}
],
"fetchInterval": 2000,
Expand Down Expand Up @@ -2186,27 +2189,30 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
"name": "daum-EUR-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
},
{
"name": "bitstamp-wss-EUR-USD",
Expand Down Expand Up @@ -2437,27 +2443,30 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
"name": "daum-GBP-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
},
{
"name": "bitstamp-wss-GBP-USD",
Expand Down Expand Up @@ -2660,27 +2669,30 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
"name": "daum-JPY-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"usDollarRate"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
}
],
"fetchInterval": 2000,
Expand Down
39 changes: 21 additions & 18 deletions config/baobab/CHF-USD.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,28 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
"name": "daum-CHF-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWCHF"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
}
],
"fetchInterval": 2000,
Expand Down
39 changes: 21 additions & 18 deletions config/baobab/EUR-USD.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,28 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
"name": "daum-EUR-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWEUR"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
},
{
"name": "bitstamp-wss-EUR-USD",
Expand Down
39 changes: 21 additions & 18 deletions config/baobab/GBP-USD.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,28 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
"name": "daum-GBP-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWGBP"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
},
{
"name": "bitstamp-wss-GBP-USD",
Expand Down
39 changes: 21 additions & 18 deletions config/baobab/JPY-USD.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,28 @@
}
},
{
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
"name": "daum-JPY-USD",
"definition": {
"url": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY",
"headers": {
"Content-Type": "application/json",
"referer": "https://m.finance.daum.net/api/exchanges/FRX.KRWJPY"
},
{
"function": "ROUND"
}
]
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": ["usDollarRate"]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
}
}
],
"fetchInterval": 2000,
Expand Down
Loading

0 comments on commit e528180

Please sign in to comment.