hammad_khan
06/20/2023, 2:11 PMtap-rest-api-msdk
- appreciate a help.
- name: tap-rest-api-msdk
variant: widen
pip_url: tap-rest-api-msdk
config:
api_url: <http://api.exchangeratesapi.io/v1/latest>
pagination_request_style: ''
pagination_response_style: ''
pagination_page_size: 10000
path: ''
params:
access_key: xxxxxxxxxxxxxxxxxx
base: GBP
records_path: ''
primary_keys: []
num_inference_records: 1000
streams:
stream_map_config: {}
flattening_enabled: true
flattening_max_depth: 10
I am expecting data of this format that I would like to store in target-postgres
{
"success": true,
"timestamp": 1620386223,
"source": "GBP",
"quotes": {
"GBPAED": 5.109727,
"GBPAFN": 107.750768,
"GBPALL": 141.659078,
"GBPAMD": 725.255305,
}
}
visch
06/20/2023, 2:28 PMhammad_khan
06/20/2023, 2:30 PMuser
06/20/2023, 2:36 PMhammad_khan
06/20/2023, 8:48 PM- name: tap-rest-api-msdk
variant: widen
pip_url: tap-rest-api-msdk
config:
api_url: <https://anyapi.io/api/v1/exchange/rates>
streams:
- name: currency_dataset
params:
apiKey: xxxxxx
base: USD
select:
- '*.*'
thanks all.