The YouTube Playlist Fetcher is a web application that allows users to retrieve and display videos from a specified YouTube playlist. This application provides a user-friendly interface to explore videos along with essential details such as titles, thumbnails, and publication dates.
- Fetch videos from any public YouTube playlist using the playlist ID.
- Customize the number of results displayed from the playlist.
- Clean and responsive user interface that resembles YouTube's design.
- Easy navigation and seamless experience for users.
The API is hosted on Vercel and can be accessed at:
- API Endpoint: Click Here
You can access the main web application at:
- Web Application: Click Here
- Enter Playlist ID: Users input the YouTube playlist ID they wish to fetch videos from.
- Specify Max Results: Optionally, users can specify the maximum number of results to display.
- Fetch Videos: The application fetches videos using the YouTube Data API.
- Display Videos: The videos are displayed in a grid format, showing thumbnails, titles, and links to watch each video.
To set up the project locally, follow these steps:
- Node.js (>= 14.x)
- npm or yarn
git clone https://github.com/devagn611/youtube-playlist-fetcher.git
cd youtube-playlist-fetcher
npm install
# or
yarn install
Create a .env
file in the root directory and add your YouTube API key:
YOUTUBE_API_KEY=your_youtube_api_key_here
npm start
# or
yarn start
Visit http://localhost:3000
in your browser to view the application.
The application is deployed on Vercel. Any changes made to the main branch will automatically trigger a new deployment.
This project is licensed under the MIT License. See the LICENSE file for details.