update README.rst
This commit is contained in:
parent
92fd2c0dd2
commit
0e0a6d1186
1 changed files with 12 additions and 7 deletions
19
README.rst
19
README.rst
|
|
@ -29,6 +29,9 @@ It emulates YouTube Music web client requests using the user's cookie data for a
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
At this point ytmusicapi supports nearly all content interactions in the YouTube Music web app.
|
||||||
|
If you find something missing or broken, feel free to create an `issue <https://github.com/sigma67/ytmusicapi/issues/new>`_
|
||||||
|
|
||||||
| **Browsing**:
|
| **Browsing**:
|
||||||
|
|
||||||
* search (including all filters)
|
* search (including all filters)
|
||||||
|
|
@ -36,7 +39,7 @@ Features
|
||||||
* get user information (videos, playlists)
|
* get user information (videos, playlists)
|
||||||
* get albums
|
* get albums
|
||||||
* get song metadata
|
* get song metadata
|
||||||
* get watch playlists (playlist that appears when you press play in YouTube Music)
|
* get watch playlists (next songs when you press play/radio/shuffle in YouTube Music)
|
||||||
* get song lyrics
|
* get song lyrics
|
||||||
|
|
||||||
| **Exploring music**:
|
| **Exploring music**:
|
||||||
|
|
@ -48,17 +51,19 @@ Features
|
||||||
|
|
||||||
* get library contents: playlists, songs, artists, albums and subscriptions
|
* get library contents: playlists, songs, artists, albums and subscriptions
|
||||||
* add/remove library content: rate songs, albums and playlists, subscribe/unsubscribe artists
|
* add/remove library content: rate songs, albums and playlists, subscribe/unsubscribe artists
|
||||||
|
* get and modify play history
|
||||||
|
|
||||||
| **Playlists**:
|
| **Playlists**:
|
||||||
|
|
||||||
* create and delete playlists
|
* create and delete playlists
|
||||||
* modify playlists: edit metadata, add/move/remove tracks
|
* modify playlists: edit metadata, add/move/remove tracks
|
||||||
* get playlist contents
|
* get playlist contents
|
||||||
|
* get playlist suggestions
|
||||||
|
|
||||||
| **Uploads**:
|
| **Uploads**:
|
||||||
|
|
||||||
* Upload songs and remove them again
|
* upload songs and remove them again
|
||||||
* List uploaded songs, artists and albums
|
* list uploaded songs, artists and albums
|
||||||
|
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
|
|
@ -67,10 +72,10 @@ Usage
|
||||||
|
|
||||||
from ytmusicapi import YTMusic
|
from ytmusicapi import YTMusic
|
||||||
|
|
||||||
ytmusic = YTMusic('headers_auth.json')
|
yt = YTMusic('headers_auth.json')
|
||||||
playlistId = ytmusic.create_playlist('test', 'test description')
|
playlistId = yt.create_playlist('test', 'test description')
|
||||||
search_results = ytmusic.search('Oasis Wonderwall')
|
search_results = yt.search('Oasis Wonderwall')
|
||||||
ytmusic.add_playlist_items(playlistId, [search_results[0]['videoId']])
|
yt.add_playlist_items(playlistId, [search_results[0]['videoId']])
|
||||||
|
|
||||||
The `tests <https://github.com/sigma67/ytmusicapi/blob/master/tests/test.py>`_ are also a great source of usage examples.
|
The `tests <https://github.com/sigma67/ytmusicapi/blob/master/tests/test.py>`_ are also a great source of usage examples.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue