title: Python - YouTube API v3 - How to get video ID only?
body: <p>How can I get only video ID of video? As I know, I should use fields for that but I don't understand how do they work. My code:</p>
  
  <pre><code>service = build('youtube', 'v3', developerKey = api_key)
  request = service.search().list(q = name, part='id',fields = *what should I type here*, maxResults = 1, type = 'video').execute()
  </code></pre>
  
  <p>"name" is search term variable. I get it from a file which contains list of names. By using this code I get information that I don't need. As I said, I need only video ID.</p>