Skip to content

jerry08/Y2mateApi

Repository files navigation

Y2mateApi

Y2mateApi is an unofficial api for y2mate to analyze, convert and download videos/audio from youtube.

🌟STAR THIS REPOSITORY TO SUPPORT THE DEVELOPER AND ENCOURAGE THE DEVELOPMENT OF THIS PROJECT!

Install

  • 📦 NuGet: dotnet add package Y2mateApi

Usage

Y2mateApi exposes its functionality through a single entry point — the Y2mateClient class. Create an instance of this class and use the provided operations to send requests.

using Y2mateApi;

var y2mate = new Y2mateClient();

// Your youtube url (or id only)
var url = "https://www.youtube.com/watch?v=kRrUDyz6VJ8";

var links = await y2mate.AnalyzeAsync(url);
var selectedLink = links[0];
var downloadUrl = await y2mate.ConvertAsync(selectedLink.Id, url);

// Download from the url...

Releases

No releases published

Packages

No packages published

Languages