Post
Topic
Board Project Development
Merits 1 from 1 user
Re: API help needed - Easy answer for some of you I guess, But not for me :(
by
coinableS
on 18/04/2022, 04:24:04 UTC
⭐ Merited by ETFbitcoin (1)
This is a standard JSON response.

What you are looking to do is parse JSON in what appears to be PHP.

If you haven't already you can use json_decode() to convert it to an array and tell it to return the numeric key #2.

Deposit #38 is the third element in the object, but in programming zero is the first position -- therefore Deposit #38 is actually labeled #2 in the object.


Code:
print_r($json["result"]["deposits"][2]);