We need to adjust our current website PHP code from making two API calls into just one API call.
Our website displays vacation rental properties from an Escapia database. Currently, we're using two API calls to display results. We were not able to figure out how to display the bedroom & bathroom information with the "UnitSearch" call so we had to add a "UnitDescriptiveInfo" call to add that information. Because of using two calls, the web page takes twice as long to load.
We just got instructions from Escapia on how to include the Bedroom and Bathroom information in "UnitSearch" API call. We need you to modify our code with new code that will implement the changes that Escapia recommended to us.