1 Star 1 Fork 16

青锋剑在手 / Meting4Net

forked from yiyun / Meting4Net 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Meting4Net

Meting4Net

:cake: 一个强大的音乐API框架

repo size LICENSE nuget downloads

English

介绍

Meting4Net: Meting for .Net, thanks to Meting.

一个强大的音乐API框架促进你的开发

  • 优雅 - 简单易用, 对于所有平台均可一个标准格式.
  • 丰富 - 支持多个音乐平台, 包括 腾讯QQ音乐, 网易云音乐, 虾米音乐, 酷狗, 百度等.
  • 免费 - MIT协议 发布

TODO

  • 网易云音乐 Meting Open API 移植完成 v0.1.0
  • 腾讯QQ音乐 Meting Open API 移植完成 v0.2.0
  • 酷狗音乐 Meting Open API 移植完成 v1.0.0
  • 虾米, 百度音乐 Meting Open API 移植完成 v1.1.0
  • 支持返回强类型实体对象 eg: SearchObj("千里邀月") v1.1.0

  • Meting4Net 跟随 Meting 更新

持续集成

环境 平台 状态
Ubuntu-16.04 .net core 2.0.0 Build Status
Linux mono 5.18.0.240 Build Status

依赖

只需要满足下方其中一条.

  • .NET Framework (>= 4.0) 且 Newtonsoft.Json (>= 4.5.11) 被安装.
  • .NET Standard (>= 2.0) 且 Microsoft.CSharp (>= 4.5.0), Newtonsoft.Json (>= 9.0.1) 被安装.

安装

推荐使用 NuGet, 在你项目的根目录 执行下方的命令, 如果你使用 Visual Studio, 这时依次点击 Tools -> NuGet Package Manager -> Package Manager Console , 确保 "Default project" 是你想要安装的项目, 输入下方的命令进行安装.

PM> Install-Package Meting4Net

快速开始

using Meting4Net.Core;
   ...
// 初始化 网易云音乐API
Meting api = new Meting(ServerProvider.Netease);
// 获得 json 数据
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",...

使用

环境

  • 运行环境: .NET Framework (>= 4.0) or .NET Standard (>= 2.0)
  • 开发环境: Visual Studio Community 2017

相关项目

鸣谢

  • 本项目由 Meting 移植而来,感谢原作者 metowolf 的贡献
  • 网易云音乐API加密模块参考自 Music163Api,感谢作者 IllyaTheHath 的贡献

Contributors

Thanks goes to these wonderful people (emoji key):

yiyun
yiyun

💻 📖 💡 🚧 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!

作者

Meting4Net © yiyun, Released under the MIT License.
Authored and maintained by yiyun with help from contributors (list).

GitHub @yiyungent

MIT License Copyright (c) 2019 yiyun Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个强大的音乐API框架。 Such a powerful music API framework for .Net 展开 收起
C#
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/QingFengJian/Meting4Net.git
git@gitee.com:QingFengJian/Meting4Net.git
QingFengJian
Meting4Net
Meting4Net
master

搜索帮助