Y2Sharp 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package Y2Sharp --version 1.0.4                
NuGet\Install-Package Y2Sharp -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Y2Sharp" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Y2Sharp --version 1.0.4                
#r "nuget: Y2Sharp, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Y2Sharp as a Cake Addin
#addin nuget:?package=Y2Sharp&version=1.0.4

// Install Y2Sharp as a Cake Tool
#tool nuget:?package=Y2Sharp&version=1.0.4                

Y2Sharp

Fastest Youtube downloader api for C# using Y2Mate.com

Created because i found all other youtube downloader apis were too slow for my need so i decided to create my own using the y2mate.com website.

Sample code

await Y2Sharp.youtube.DownloadAsync("gQjAEbWZEgU", "music.mp3");

install the latest nuget from https://github.com/ArttuKuikka/Y2Sharp/releases and you can use the command above.

explanations to all the parameters

DownloadAsync(videoid, path, type, quality);
  1. videoid is the part of youtube link after watch?v=
  2. path. where you want your downloaded file to be stored (by default force creates file so be carefull)
  3. type. either mp3 or mp4. determines if downloaded content is audio or video.
  4. quality. for music the quality should allways be 128 but videos can be downloaded at any of youtubes default resulutions.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.10.0 339 5/9/2023
4.9.0 377 1/14/2023
4.8.0 533 5/17/2022
4.7.0 470 1/10/2022
4.6.0 258 1/9/2022
4.5.0 278 1/8/2022
4.4.0 252 1/8/2022
4.3.0 278 1/7/2022
4.2.0 282 1/7/2022
4.1.0 272 12/28/2021
4.0.0 253 12/28/2021
2.1.0 315 12/10/2021
2.0.0 302 12/7/2021
1.0.4 348 11/13/2021