How to extract distance & duration from xml google maps api

This XML file does not appear to have any style information associated with it. The document tree is shown below.

OK
<origin_address>somewhere in USA</origin_address>
<destination_address> Washington, DC 20500, USA</destination_address>


OK

423
7 mins


1593
1.6 km



hi can anyone tell me how can i extract the distance & duration from google maps xml files and import it into our app to display data?

can anybody help me please…


this is the json query response from google maps api…

how can i extract it using adola API…

i dont really know what to key into the adola API settings.

Collection Name: ?
API base URL: ?

header
Authorization
Bearer “google map api key”

Header
Content-Type
application/json

==============

how can i extract distance and duration and put it into my collection database?