Post
Topic
Board Project Development
Re: API help needed - Easy answer for some of you I guess, But not for me :(
by
andresteves
on 08/08/2022, 14:51:34 UTC
Not sure if you already had an answer to the question but I guess what you wanted is(based on FuloosIo response):

Code:
foreach($json['result']['deposits'] as $id => $info) {

   if($info['deposit_id'] === 38) {
     echo $info['total_earned'];
   }
 
}