🖥️ API for @th-ch/youtube-music
- Install @th-ch/youtube-music
- Enable the API plugin
- Click Plugins > API > Set API Key
- Make note of your current key or set a new one
- Use this key with all API calls to identify yourself
Note The main API endpoint is
https://youtube-music-api.zohan.tech/api/
Query Params:
key
: Your API key
Request Body:
key
: Your API keycontrols
: A list (array) of controls to execute; controls can be:play
pause
playPause
previous
next
like
dislike
go10sBack
go10sForward
go1sBack
go1sBack
shuffle
switchRepeat
volumeMinus10
volumePlus10
fullscreen
muteUnmute
maximizeMinimisePlayer
goToHome
goToLibrary
goToSettings
goToExplore
search
showShortcuts
Download from Google Play or use the latest APK from the ./android/
folder.
Warning The API key set using the Android App is semi-permenant. To change the key go to Settings > Apps > Remote > Clear Data > Clear All Data.