I am working on Flight api. I am sending the request(From location,To location,From date..etc) and i am getting the response in the array format as below.
You will need to loop inside your array, level by level, and peint all relevant data you need. You can use foreach function to achieve this, please check documentation.