{"id":20459191,"url":"https://github.com/codingstark-dev/youtube-downloader-api","last_synced_at":"2025-03-05T10:50:29.728Z","repository":{"id":214848148,"uuid":"720090123","full_name":"codingstark-dev/youtube-downloader-api","owner":"codingstark-dev","description":"This API built using Flask allows users to retrieve video information from YouTube and download videos in specified resolutions or audio format.","archived":false,"fork":false,"pushed_at":"2023-12-31T10:08:32.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T00:22:46.442Z","etag":null,"topics":["flask","flask-api","python3","pytube","ytdl"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingstark-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-17T14:59:38.000Z","updated_at":"2024-11-27T05:35:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6e39dda-23f6-4cd0-90f0-e2a2364446ab","html_url":"https://github.com/codingstark-dev/youtube-downloader-api","commit_stats":null,"previous_names":["codingstark-dev/youtube-downloader-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Fyoutube-downloader-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Fyoutube-downloader-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Fyoutube-downloader-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Fyoutube-downloader-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingstark-dev","download_url":"https://codeload.github.com/codingstark-dev/youtube-downloader-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242014690,"owners_count":20057877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","flask-api","python3","pytube","ytdl"],"created_at":"2024-11-15T12:15:24.493Z","updated_at":"2025-03-05T10:50:29.723Z","avatar_url":"https://github.com/codingstark-dev.png","language":"Python","readme":"## YouTube Downloader API\n\nThis API built using Flask allows users to retrieve video information from YouTube and download videos in specified resolutions or audio format.\n\n### API Endpoints\n\n#### Fetch Video Information\n\n- **Endpoint**: `/api/video_info`\n- **Method**: `GET`\n- **Parameters**:\n  - `url` (required): The YouTube video URL\n- **Response**:\n  - JSON containing video title, available resolutions with download links, audio information, and thumbnail URL.\n\n#### Download Video/Audio\n\n- **Endpoint**: `/api/download`\n- **Method**: `GET`\n- **Parameters**:\n  - `url` (required): The YouTube video URL\n  - `resolution` (required): Video resolution (use 'audio' for audio-only)\n- **Response**:\n  - Downloads the requested video or audio file.\n\n### Setup Instructions\n\n1. Install Python.\n2. Install dependencies:\n    ```\n    pip install flask flask-cors pytube\n    ```\n3. Run the application:\n    ```\n    python app.py\n    ```\n4. Access the API endpoints using `http://localhost:5000`.\n\n### Usage\n\n#### Fetch Video Information\n\n```bash\nGET /api/video_info?url=\u003cYouTube_video_URL\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingstark-dev%2Fyoutube-downloader-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingstark-dev%2Fyoutube-downloader-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingstark-dev%2Fyoutube-downloader-api/lists"}