Hi.
I am a beginner user and I have encountered the following problem.
From web hook I get the following value:
{“type”:“new_coin”,“listing_type”:“listing”,“message”:“Crowdholding (YUP) has been listed on CoinEx!”,“currency”:“YUP”,“currency_name”:“Crowdholding”,“exchange”:“CoinEx”,“alert_condition_id”:1832473,“currency_address”:“0xd9a12cde03a86e800496469858de8581d3a5353d”,“blockchain”:“Ethereum”}
I would like to extract the value of “currency” from the given text (in this case “YUP”) and insert it into the “symbol” field while maintaining the case. Create a JSON structure with the following format:
{
“api_key”: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxx”,
“api_secret”: “xxxxxxxxxxxxxxxxxxxxxxxxxx”,
“action”: “open”,
“exchange”: “BYBIT”,
“symbol”: “BYBIT_USDT_---->insert_extracted_currency_value_here<----”
}
created and changed by a new value text in json format I would like to send to this API address:
https://api.altrady.com/v2/signal_bot_positions
