Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can I get title of playlist #147

Open
ryanfoster4224 opened this issue Jan 27, 2023 · 1 comment
Open

how can I get title of playlist #147

ryanfoster4224 opened this issue Jan 27, 2023 · 1 comment

Comments

@ryanfoster4224
Copy link

hello, here is a attribute title in playlist class, but i can't access it

@MerleLiuKun
Copy link
Member

So you not provide your code example.

You can see the example.

r = cli.playlists.list(playlist_id="PLOspHqNVtKAC-_ZAGresP-i0okHe5FjcJ", parts="snippet,contentDetails,status")
title = r.items[0].snippet.title

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

No branches or pull requests

2 participants