{"id":29022685,"url":"https://github.com/isa-programmer/yt_api_wrapper","last_synced_at":"2025-06-26T03:03:24.795Z","repository":{"id":299589223,"uuid":"1003509532","full_name":"isa-programmer/yt_api_wrapper","owner":"isa-programmer","description":"Simple youtube scraper for python","archived":false,"fork":false,"pushed_at":"2025-06-21T10:18:38.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T11:20:26.174Z","etag":null,"topics":["python","scraper","webscraping","youtube","youtube-api","youtube-dl","yt-dlp"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isa-programmer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-17T08:56:57.000Z","updated_at":"2025-06-21T10:18:41.000Z","dependencies_parsed_at":"2025-06-21T11:20:32.298Z","dependency_job_id":null,"html_url":"https://github.com/isa-programmer/yt_api_wrapper","commit_stats":null,"previous_names":["isa-programmer/youtube-core","isa-programmer/yt-api-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/isa-programmer/yt_api_wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isa-programmer%2Fyt_api_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isa-programmer%2Fyt_api_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isa-programmer%2Fyt_api_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isa-programmer%2Fyt_api_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isa-programmer","download_url":"https://codeload.github.com/isa-programmer/yt_api_wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isa-programmer%2Fyt_api_wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261990289,"owners_count":23241186,"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":["python","scraper","webscraping","youtube","youtube-api","youtube-dl","yt-dlp"],"created_at":"2025-06-26T03:03:24.259Z","updated_at":"2025-06-26T03:03:24.755Z","avatar_url":"https://github.com/isa-programmer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/isa-programmer/yt_api_wrapper?utm_source=oss\u0026utm_medium=github\u0026utm_campaign=isa-programmer%2Fyt_api_wrapper\u0026labelColor=171717\u0026color=FF570A\u0026link=https%3A%2F%2Fcoderabbit.ai\u0026label=CodeRabbit+Reviews)\n# Fast and Lightweight YouTube Scraper for Python\n\n\u003e **Warning:** The user/developer is solely responsible for the use of this code. I am not responsible for copyrights and YouTube restrictions.  \n\u003e It is for educational purposes only—do not misuse it.\n\n## Installing\n\n```bash\npip install yt-api-wrapper\n```\n\nOr, for faster JSON parsing with [orjson](https://github.com/ijl/orjson):\n\n```bash\npip install yt-api-wrapper[orjson]\n```\n\n## How to Use?\n\nThis library is simple to use and often requires just a single line of code.  \nHere are some quick examples:\n\n```python\nfrom yt_api_wrapper import YouTubeAPIWrapper  # Import the library\nyt = YouTubeAPIWrapper()                      # Create API wrapper\n\nyt.auto_complete('pytho')                     # Auto Complete example\n\nvideo = yt.get_video_info('dQw4w9WgXcQ')      # Get video info\n\nresults = yt.search_videos('python course')   # Search videos\n\nchannel = yt.get_channel_info('UCuAXFkgsw1L7xaCfnd5JJOw')  # Get channel info\n```\n\n### Asynchronous Usage\n\n```python\nimport asyncio\nfrom yt_api_wrapper import AsyncYouTubeAPIWrapper\n\nyt_async = AsyncYouTubeAPIWrapper()\n\nasync def main():\n    suggestions = await yt_async.auto_complete('pytho')\n    print(suggestions)\n\n    video_info = await yt_async.get_video_info('dQw4w9WgXcQ')\n    print(video_info)\n\n    search_results = await yt_async.search_videos('python course')\n    print(search_results)\n\n    channel_info = await yt_async.get_channel_info('UCuAXFkgsw1L7xaCfnd5JJOw')\n    print(channel_info)\n\nasyncio.run(main())\n```\n\n---\n\n## Contribution\n\nContributions are welcome!  \nTo contribute, please follow these rules to ensure quality and consistency:\n\n### General Guidelines\n\n- Be respectful and constructive in all communications.\n- Make sure your code follows PEP8 style guidelines.\n- Write clear commit messages and describe the reason for your change.\n- Keep pull requests focused—avoid combining unrelated changes.\n\n### Contributing Process\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/your-feature-name`).\n3. Make your changes.\n4. Add or update tests to cover your changes if necessary.\n5. Ensure all tests pass (`pytest` or your preferred runner).\n6. Commit your changes (`git commit -m 'Add feature: your feature name'`).\n7. Push to your branch (`git push origin feature/your-feature-name`).\n8. Open a Pull Request and describe your changes clearly.\n9. Respond to any code review feedback.\n\n### Code of Conduct\n\n- Harassment, discrimination, or abusive behavior will not be tolerated.\n- Respect all contributors and maintainers.\n\n### Reporting Issues\n\n- Search [existing issues](https://github.com/isa-programmer/yt_api_wrapper/issues) before opening a new one.\n- Provide clear and concise information when reporting bugs or requesting features.\n\n---\n\n*This project is not affiliated with or endorsed by YouTube or Google. For educational purposes only.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisa-programmer%2Fyt_api_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisa-programmer%2Fyt_api_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisa-programmer%2Fyt_api_wrapper/lists"}