title: Youtube search api V3 javascript
body: <p>Here I have working API request, which can return maximum 50 videos (see <a href="https://developers.google.com/youtube/v3/docs/search/list" rel="nofollow noreferrer">documentation</a> ),
  How can I have <code>more</code> functionality ?</p>
  
  <p>When I click on <code>more</code> button I need to get videos after already returned 50, it means from 50 to 100, for next click from 100 to 150, etc.</p>
  
  <pre class="lang-js prettyprint-override"><code>function execute() {
      return gapi.client.youtube.search.list({
        "part": "masha i medved",
        "maxResults": 50,
        "q": "surfing"
      })
      .then(function(response) {
         // Handle the results here (response.result has the parsed body).
            console.log("Response", response); // returns 50 videos from 1000000 result
      },
      function(err) { console.error("Execute error", err); });
    }
  
  
  </code></pre>