https://github.com/anhoder/netease_music_request
网易云音乐接口,使用Dio发起请求,CookieJar管理Cookie信息
https://github.com/anhoder/netease_music_request
api cookiejar dart flutter netease-cloud-music netease-music neteasecloud neteasecloudmusicapi neteasemusic
Last synced: about 1 month ago
JSON representation
网易云音乐接口,使用Dio发起请求,CookieJar管理Cookie信息
- Host: GitHub
- URL: https://github.com/anhoder/netease_music_request
- Owner: anhoder
- License: mit
- Created: 2020-06-09T16:01:39.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-20T12:37:36.000Z (over 4 years ago)
- Last Synced: 2025-03-28T23:51:13.090Z (about 2 months ago)
- Topics: api, cookiejar, dart, flutter, netease-cloud-music, netease-music, neteasecloud, neteasecloudmusicapi, neteasemusic
- Language: Dart
- Homepage:
- Size: 25.4 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Dart版网易云音乐接口





使用Dio发起请求,CookieJar管理Cookie,可用于命令行程序、Flutter程序。
> 接口逻辑来源于 [Binaryify/NeteaseCloudMusicApi](https://github.com/Binaryify/NeteaseCloudMusicApi)
>
> 其接口文档为[https://binaryify.github.io/NeteaseCloudMusicApi](https://binaryify.github.io/NeteaseCloudMusicApi)本项目使用Dart实现其接口逻辑,并在其基础上使用CookieJar管理Cookie信息
## 使用
```dart
import 'package:netease_music_request/request.dart';
void main() {
var phone = '';
var password = '';
User().loginByPhone(phone, password).then((data) => print(data));
}
```