🍰 Wow, such a powerful music API framework for .Net
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?
- 网易云音乐 Meting Open API 移植完成 v0.1.0
- 腾讯QQ音乐 Meting Open API 移植完成 v0.2.0
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.
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
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",...
- Operating environment: .NET Framework (>= 4.5) or .NET Standard (>= 2.0)
- Development environment: Visual Studio Community 2017