title: Getaroom API: Get list of hotels by destination search
body: <p><strong>Get the list of hotels from the getaroom api according to destination search.</strong></p>
  
  <p>This url generates xml file for getting available hotels:
  But this API is not the best API optimized for performance as said by the support team:</p>
  
  <pre><code>$getaroom_url =  "https://book.getaroom.com/searches/hotel_availability.xml?";
  $getaroom_url .= "destination=$city%2C%20$cntry";
  $getaroom_url .= "&amp;rinfo=$room_array_string";
  $getaroom_url .= "&amp;check_in=$check_in";
  $getaroom_url .= "&amp;check_out=$check_out";
  $getaroom_url .= "&amp;transaction_id=1234";
  $getaroom_url .= "&amp;cancellation_rules=1";
  $getaroom_url .= "&amp;api_key=$api_key&amp;auth_token=$auth_token";
  </code></pre>
  
  <p>Therefore we can't use this code for getting the list of hotels.</p>
  
  <p>This is another api to get list of hotels in xml and csv:</p>
  
  <p><strong>xml format</strong>:
   <a href="https://book.getaroom.com/api/properties.xml?api_key=axyzefg">https://book.getaroom.com/api/properties.xml?api_key=axyzefg</a>****ggggg&amp;auth_token=abcdef****ggggggg</p>
  
  <p><strong>csv format</strong>:
   <a href="https://book.getaroom.com/api/properties.csv?api_key=axyzefg">https://book.getaroom.com/api/properties.csv?api_key=axyzefg</a>****ggggg&amp;auth_token=abcdef****ggggggg</p>
  
  <p>To do a destination search in Las Vegas, you must pull all uuids that are in Las Vegas and surrounding areas, then do a multi property request.
  When uuid is found, then hit another api for that given below:</p>
  
  <p><a href="https://availability.getaroom.com/api/1.1/properties/c1b93287-6260-5c23-8a74-66efa541a5b2/room_availability?rinfo=[[18,18]]&amp;check_in=6/15/2015&amp;check_out=6/17/2015&amp;transaction_id=1234&amp;cancellation_rules=1&amp;api_key=">https://availability.getaroom.com/api/1.1/properties/c1b93287-6260-5c23-8a74-66efa541a5b2/room_availability?rinfo=[[18,18]]&amp;check_in=6/15/2015&amp;check_out=6/17/2015&amp;transaction_id=1234&amp;cancellation_rules=1&amp;api_key=</a>*************&amp;auth_token=*****************</p>
  
  <p>So this is long process to get the availability of the hotel.
  Problem is that how to get all the hotel list according to the destination and check-in and check-out in one request. Is there any other api for getaroom through which we can get hotel list by checkin,checkout,destination parameters like in <strong><em>Expedia</em></strong>.
  <em>Thank you in advance</em></p>