Skip to content
This repository was archived by the owner on Jan 22, 2023. It is now read-only.

Latest commit

 

History

History
72 lines (48 loc) · 2.57 KB

README_en.md

File metadata and controls

72 lines (48 loc) · 2.57 KB

Meting4Net

Meting4Net

🍰 Wow, such a powerful music API framework for .Net

repo size LICENSE nuget downloads

中文

Introduction

Meting4Net: Meting for .Net, thanks to Meting.

A powerful music API framework to accelerate your development

  • Elegant - Easy to use, a standardized format for all music platforms.
  • Powerful - Support various music platforms, including Tencent, NetEase, Xiami, KuGou, Baidu and more.
  • Free - Under MIT license, need I say more?

Progress

  • 网易云音乐 Meting Open API 移植完成 v0.1.0
  • 腾讯QQ音乐 Meting Open API 移植完成 v0.2.0

Requirement

Only need to match one.

  • .NET Framework (>= 4.0) and Newtonsoft.Json (>= 4.5.11) installed.
  • .NET Standard (>= 2.0) and Microsoft.CSharp (>= 4.5.0), and Newtonsoft.Json (>= 9.0.1) installed.

Installation

Require this package, with NuGet, in the root directory of your project, if you use Visual Studio, then click Tools -> NuGet Package Manager -> Package Manager Console , make sure "Default project" is the project you want to install, enter the command below to install.

PM> Install-Package Meting4Net

Quick Start

using Meting4Net.Core;
   ...
// Initialize to netease API
Meting api = new Meting("netease");
// Get data
string jsonStr = api.FormatMethod(true).Search("Soldier", new Meting4Net.Core.Models.Standard.Options
{
    page = 1,
    limit = 50
});

return Content(jsonStr, "application/json");
//[{"id":35847388,"name":"Hello","artist":["Adele"],"album":"Hello","pic_id":"1407374890649284","url_id":35847388,"lyric_id":35847388,"source":"netease"},{"id":33211676,"name":"Hello","artist":["OMFG"],"album":"Hello",...

Environment

  • Operating environment: .NET Framework (>= 4.5) or .NET Standard (>= 2.0)
  • Development environment: Visual Studio Community 2017

Related Projects