Using queried data from DB for external API request
I'm looking to get open interest data from the Binance API for multiple ticker symbols from my existing database. My idea was to query those symbols and use sprintf to fill them in the API request.
Example request
https://fapi.binance.com/fapi/v1/openInterest?symbol=btcusdt
https://fapi.binance.com/fapi/v1/openInterest?symbol=%s
Database[001340.png]
Function Stack[001341.png]Variable[001343.png]
API request [001342.png]Unfortunately, what I have so far does not work. Any suggestions?
Working with APIs
7 replies