Python-youtube

Latest version: v0.9.7

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.7.0

What's New

1. Add api methods for members and membership levels
2. Add more examples for api
3. Add fields for playlist item api
4. fix some.

0.6.1

What's New

Remove deprecated api.

0.6.0

What's New

Provide remain get apis. like activities, captions, channel_sections, i18n, video_abuse_report_reason, search resource and so on.

You can see the `README`_ to get more detail for those api.

0.5.3

What's New

Provide the page token parameter to skip data have retrieved.

This for follow api methods

python
api.get_playlists()
api.get_playlist_items()
api.get_videos_by_chart()
api.get_videos_by_myrating()
api.get_comment_threads()
api.get_comments()
api.get_subscription_by_channel()
api.get_subscription_by_me()


example


In[1]: r = api.get_subscription_by_channel(channel_id="UCAuUUnT6oDeKwE6v1NGQxug", limit=5, count=None, page_token="CAUQAA")
In[2]:r.prevPageToken
Out[2]: 'CAUQAQ'

0.5.2

What's New

Now you can use authorized access token to get your subscriptions.
You can to the demo [A demo for get my subscription](https://github.com/sns-sdks/python-youtube/blob/master/examples/subscription.py) to see simple usage.
Or you can see the [subscriptions usage](https://github.com/sns-sdks/python-youtube/blob/master/README.rst#subscriptions) docs.

43 add api for get my subscriptions

41 add api for channel subscriptions

0.5.1

What's New

Now some apis can get all target items just by one method call.

For example, you can get playlist's all items by follow call


In [1]: r = api.get_playlist_items(playlist_id="PLWz5rJ2EKKc_xXXubDti2eRnIKU0p7wHd", parts=["id", "snippet"], count=None)
In [2]: r.pageInfo
Out[2]: PageInfo(totalResults=73, resultsPerPage=50)
In [3]: len(r.items)
Out[4]: 73


You can see the [README](https://github.com/sns-sdks/python-youtube/blob/master/README.rst) to find which methods support this.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.