Skip to content

Commit

Permalink
Add finnhub configs (#70)
Browse files Browse the repository at this point in the history
* add Times Finnhub MapQuest examples

* add configs to finnhub

* add finnhub configs
  • Loading branch information
Wukkkinz-0725 authored Feb 3, 2021
1 parent c39dfeb commit 1af8c92
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 0 deletions.
60 changes: 60 additions & 0 deletions finnhub/crypto_candle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"version": 1,
"request": {
"url": "https://finnhub.io/api/v1/crypto/candle",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "token"
},
"params": {
"symbol" : true,
"resolution" : true,
"from_": true,
"from": {
"required": false,
"removeIfEmpty": true,
"template": "{{from_}}",
"fromKey": [
"from_"
]
},
"to" : true
}
},
"response": {
"ctype": "application/json",
"tablePath": "$[*]",
"schema": {
"open_price": {
"target": "$.o[*]",
"type": "object"
},
"high_price": {
"target": "$.h[*]",
"type": "object"
},
"low_price": {
"target": "$.l[*]",
"type": "object"
},
"close_price": {
"target": "$.c[*]",
"type": "object"
},
"volume": {
"target": "$.v[*]",
"type": "object"
},
"timestamp": {
"target": "$.t[*]",
"type": "object"
},
"status": {
"target": "$.s",
"type": "string"
}
},
"orient": "records"
}
}
23 changes: 23 additions & 0 deletions finnhub/crypto_exchange.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"version": 1,
"request": {
"url": "https://finnhub.io/api/v1/crypto/exchange",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "token"
},
"params": {}
},
"response": {
"ctype": "application/json",
"tablePath": "$[*]",
"schema": {
"exchange": {
"target": "$[*]",
"type": "string"
}
},
"orient": "records"
}
}
33 changes: 33 additions & 0 deletions finnhub/crypto_symbols.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"version": 1,
"request": {
"url": "https://finnhub.io/api/v1/crypto/symbol",
"method": "GET",
"authorization": {
"type": "QueryParam",
"keyParam": "token"
},
"params": {
"exchange" : true
}
},
"response": {
"ctype": "application/json",
"tablePath": "$[*]",
"schema": {
"description": {
"target": "$[*].description",
"type": "string"
},
"displaySymbol": {
"target": "$[*].displaySymbol",
"type": "string"
},
"symbol": {
"target": "$[*].symbol",
"type": "string"
}
},
"orient": "records"
}
}

0 comments on commit 1af8c92

Please sign in to comment.