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.
<PackageVersion Include="Y2Sharp" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="Y2Sharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package Y2Sharp@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Y2Sharp&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=Y2Sharp&version=1.0.4
                    
Install as a Cake Tool

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 579 5/9/2023
4.9.0 509 1/14/2023
4.8.0 712 5/17/2022
4.7.0 639 1/10/2022
4.6.0 428 1/9/2022
4.5.0 449 1/8/2022
4.4.0 415 1/8/2022
4.3.0 446 1/7/2022
4.2.0 458 1/7/2022
4.1.0 446 12/28/2021
4.0.0 427 12/28/2021
2.1.0 478 12/10/2021
2.0.0 474 12/7/2021
1.0.4 512 11/13/2021