Search code examples
google-apiyoutube-apiyoutube-data-api

How to exclude broadcasts from search by video results?


In docs (https://developers.google.com/youtube/v3/docs/search/list) I've only found options that allow me to include only translations with the specified status (completed / live / upcoming) in my search results, but I have the reverse task - to exclude all translations from the search results. How to do it?


Solution

  • I found the solution: params.eventType = 'completed'