Figure 4: Process of direction API to obtain data.