BackTube is a streaming app for music lovers who can create and follow playlists of their favorite songs from Youtube or Bandcamp.
There are 4 different repositories:
- UI
- Backend API
- Stream API
- Youtube Music Search API (this repository)
Install dependencies using pip.
pip install -r requirements.txt
Start the server
python wsgi.py
Example of API call using cURL
curl \
-H 'Content-Type: application/json' \
-X POST \
-d '{"query": "nirvana"}' \
http://localhost:5000/search/yt
- [POST] /setup/yt: To be used if you want to provide authenticated headers with your queries.
- [POST] /search/yt: The Youtube Music Search endpoint (see the example above).
Please open an issue prior to submitting a pull request, so that we can discuss whether it makes sense to be implemented or not. Feature ideas or bug reports are more than welcome!