title: How to get an XML response from the googleapi Youtube API
body: <p>It seems that YouTube has updated their API to a newer one (<a href="https://developers.google.com/youtube/v3/" rel="nofollow">YouTube Data API (v3)</a>), and suddenly the YouTube searches on my site are not working. </p>
  
  <p>I am trying to update them to work with the new API, but every time I get a <code>JSON</code> result, instead of <code>XML</code>, the old API returned xml so my code expects a xml return result. When I tried to specify XML in the call to the API, I got an error that the call is invalid.</p>
  
  <p>Can anyone please explain to me how I can retrieve an XML from the YouTube API V3?</p>