I am writing to inquire about how to retrieve viewing history on YouTube using the Google platform's API.I have looked into the YouTube Data API's playlist retrieval functionality but was unable to locate a playlist for viewing history.Could you please advise me on the specific methods available for retrieving viewing history using the YouTube Data API?I have read through the API documentation but am still unsure about the steps required to do so.If it is possible to retrieve viewing history, I would greatly appreciate it if you could provide me with detailed instructions on how to do so.
I tried to use OAuth 2.0 authentication on YouTube Data API's official documentation web page API Explorer (e.g., https://developers.google.com/youtube/v3/docs/activities/list) or Google OAuth 2.0 Playground (https://developers.google.com/oauthplayground/) to retrieve my viewing history data, but I couldn't find the data corresponding to my viewing history.