{"id":14979652,"url":"https://github.com/snakx/youtubeapisharp","last_synced_at":"2025-10-28T19:31:46.282Z","repository":{"id":143126361,"uuid":"369300822","full_name":"snakx/YouTubeApiSharp","owner":"snakx","description":"A complete Private YouTube API for .NET (C#, VB.NET).","archived":false,"fork":false,"pushed_at":"2021-06-19T08:27:14.000Z","size":103,"stargazers_count":42,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-01T17:51:08.783Z","etag":null,"topics":["android","csharp","dotnet","dotnet-standard","ios","net","youtube","youtube-api","youtube-channel","youtube-dl","youtube-downloader","youtube-music","youtube-playlist","youtube-private-api","youtube-scraper","youtube-sdk","youtube-search","youtube-video"],"latest_commit_sha":null,"homepage":"https://play.google.com/store/apps/details?id=com.tspmd.app\u0026hl=en","language":"C#","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/snakx.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}},"created_at":"2021-05-20T18:20:30.000Z","updated_at":"2024-11-11T14:30:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca5a9e48-6c05-4f42-8535-73427b4fc669","html_url":"https://github.com/snakx/YouTubeApiSharp","commit_stats":{"total_commits":20,"total_committers":2,"mean_commits":10.0,"dds":"0.44999999999999996","last_synced_commit":"6486bc3ea1101f50681e657e178c4cc2bd044471"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snakx%2FYouTubeApiSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snakx%2FYouTubeApiSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snakx%2FYouTubeApiSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snakx%2FYouTubeApiSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snakx","download_url":"https://codeload.github.com/snakx/YouTubeApiSharp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238710159,"owners_count":19517657,"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":["android","csharp","dotnet","dotnet-standard","ios","net","youtube","youtube-api","youtube-channel","youtube-dl","youtube-downloader","youtube-music","youtube-playlist","youtube-private-api","youtube-scraper","youtube-sdk","youtube-search","youtube-video"],"created_at":"2024-09-24T14:00:26.959Z","updated_at":"2025-10-28T19:31:40.972Z","avatar_url":"https://github.com/snakx.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YouTubeApiSharp\n\n\u003ca href=\"https://github.com/snax/YouTubeApiSharp/blob/main/etc/bitcoin.txt\" target=\"_blank\"\u003e\n\u003cimg src=\"https://github.com/snakx/YouTubeApiSharp/blob/main/img/bitcoin-donate-black.png\" alt=\"Bitcoin\" title=\"Donate Bitcon\" border=\"0\" /\u003e\n\u003c/a\u003e\n\n## Overview\nA complete Private YouTube API for .NET (C#, VB.NET).\n\n## Target platforms\n\n- .NET Standard 2.0\n- WinRT\n- Windows\n- Linux\n- macOS\n- Windows Phone\n- Xamarin.Android\n- Xamarin.iOS\n\n## NuGet\n\n[YouTubeApiSharp at NuGet](http://nuget.org/packages/YouTubeApiSharp)\n\n    Install-Package YouTubeApiSharp\n\n## License\n\nThe YouTubeApiSharp code is licensed under the [MIT License](http://opensource.org/licenses/MIT).\n\n## Example code\n\n**Get the download URLs**\n\n```c#\n\n// Our test youtube link\nstring link = \"insert youtube link\";\n\n/*\n * Get the available video formats.\n * We'll work with them in the video and audio download examples.\n */\nIEnumerable\u003cVideoInfo\u003e videoInfos = DownloadUrlResolver.GetDownloadUrls(link);\n\n```\n\n**Download the video**\n\n```c#\n\n// Select the first .mp4 video with 360p resolution\nVideoInfo video = videoInfos\n\t.First(info =\u003e info.VideoType == VideoType.Mp4 \u0026\u0026 info.Resolution == 360);\n\n// Decrypt only if needed\nif (video.RequiresDecryption)\n{\n\tDownloadUrlResolver.DecryptDownloadUrl(video);\n}\n\n// Create the video downloader.\nVideoDownloader dl = new VideoDownloader();\ndl.DownloadFile(video.DownloadUrl, video.Title, true, Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), video.VideoExtension);\n\n```\n\n## Community\n\n\u003ca href=\"https://t.me/snakxorg\" target=\"_blank\"\u003e\n\u003cimg src=\"https://github.com/snakx/YouTubeApiSharp/blob/main/img/telegram.png\" alt=\"Telegram\" title=\"Telegram Chat\" border=\"0\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnakx%2Fyoutubeapisharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnakx%2Fyoutubeapisharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnakx%2Fyoutubeapisharp/lists"}