title: filtering from JSON output from curl using JQ
body: <p>I'm trying to filter JSON file after I'm pulling it over Curl using JQ to have only Youtube video &quot;id&quot; printed with jq from Ubuntu shell, with no luck I need to have XEJLuJyxLDE after &quot;id&quot;: only , pretty long list and I'm very new to linux and jq. Thanks for help. My command now is which doesn't work <code>curl -s 'https://www.googleapis.com/youtube/v3/videos?chart=mostPopular&amp;locale=RU&amp;maxResults=50&amp;key=MY_API_HERE'  --header 'Accept: application/json' | jq &quot;.id&quot;</code></p>
  <pre><code>
   {
    &quot;kind&quot;: &quot;youtube#videoListResponse&quot;,
    &quot;etag&quot;: &quot;peo7sRMHdYZRkNABiJLj7xYZ0yo&quot;,
    &quot;items&quot;: [
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;DrIQh9Tabqk3iak4yonUCzJ3sTk&quot;,
        &quot;id&quot;: &quot;XEJLuJyxLDE&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;1pZQ8jDaavX6KnOyiFrHQQiZtHo&quot;,
        &quot;id&quot;: &quot;jO0luDEHesc&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;EJZ20jnqkqp7uTg5krUSK1SQE5s&quot;,
        &quot;id&quot;: &quot;ixl31324UxE&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;lGhY08GhkmvKFuDL-GWAc0ulq-4&quot;,
        &quot;id&quot;: &quot;EoxkdcQAZmQ&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;C8wQv894QbhKLeMUH0qR4cVVi7w&quot;,
        &quot;id&quot;: &quot;5nFpkCmb8e4&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;zgizGmrn5tpxE6x2Yb0Dbuays1E&quot;,
        &quot;id&quot;: &quot;tJvCygyNH4I&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;WnwrLmfpC1sLxZaQjQdF6LIKrck&quot;,
        &quot;id&quot;: &quot;racmy7Y9P4M&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;1Ye2Py_uXwlz25tukvCklZK9094&quot;,
        &quot;id&quot;: &quot;rDpC8RW6UIQ&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;_4CqgWptBzjcBVxNvgZj9Rc60Ws&quot;,
        &quot;id&quot;: &quot;ONAZ__UY8Ps&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;6Ft6e-4d96bOZz8ICutRq1V9UNs&quot;,
        &quot;id&quot;: &quot;RE8VF-mVkhw&quot;
      },
      {
        &quot;kind&quot;: &quot;youtube#video&quot;,
        &quot;etag&quot;: &quot;aQQyXts43CxaFmtTIHDgPAPIUnE&quot;,
        &quot;id&quot;: &quot;LVze229omm4&quot;
      }
  
  </code></pre>