Skip to content

Conversation

@DanielP77
Copy link
Contributor

Added parameter 'forHandle' to channels_list to search for channels by YouTube handle (e.g. @eliasdabbas as in https://www.youtube.com/@EliasDabbas)

Added parameter 'forHandle' to channels_list to search for channels by YouTube handle (e.g. @eliasdabbas as in https://www.youtube.com/@EliasDabbas)
Copy link
Owner

@eliasdabbas eliasdabbas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the PR!

Just curious. I checked official docs, and I tried the same using the forUsername parameter and received the same response as when I did with forHandle.

Any idea what's the difference, or am I missing something?

@eliasdabbas eliasdabbas requested a review from Copilot May 30, 2025 05:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the YouTube API wrapper by adding a new parameter "forHandle" to enable channel searches using YouTube handles.

  • Added the "forHandle" parameter to the channels_list function signature.
  • Updated the corresponding parameter documentation and validation logic to ensure only one identifier is specified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants