This API allows users to search for videos and download them from YouTube.
You can test this API using the following domain: https://beattubeapi.vercel.app/
- Endpoint:
/api?q=123
- Method: GET
- Description: This endpoint allows users to search for videos on YouTube.
- Query Parameters:
q
: The search query. Example:q=funny+cats
- Response: A JSON object containing the search results.
curl -X GET 'https://beattubeapi.vercel.app/api?q=funny+cats'
- Endpoint:
/api/ytvideoID
- Method: GET
- Description: This endpoint allows users to download a video by its YouTube video ID.
- Path Parameter:
ytvideoID
: The ID of the YouTube video to download.
- Response: The video file to download.