I have this API
( https://bittrex.com/api/v1/public/getmarketsummaries ) where the index of the values I am trying to get, keeps changing.
I have
Code: Select all
set cloaklast [dict get [lindex [dict get $bittrex result] 28] Last]
I need to find the list value of MarketName: "BTC-CLOAK" (or any other value of MarketName) and put it in a variable to use so the index value is always kept up to date.
I think I need foreach or lsearch. I am unsure.
Thanks!