File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Created by PhpStorm.
4+ * User: kilingzhang
5+ * Date: 2020-04-19
6+ * Time: 23:17
7+ */
8+
9+ namespace NeteaseCloudMusicApi \V1 \Dj \Category ;
10+
11+
12+ use NeteaseCloudMusicApi \Controller ;
13+
14+ /**
15+ * Class Recommend
16+ * @package NeteaseCloudMusicApi\V1\Dj\Category
17+ *
18+ * http://i.music.163.com/dj/category/recommend
19+ *
20+ */
21+ class Recommend extends Controller
22+ {
23+ protected $ uri = 'http://music.163.com/weapi/djradio/home/category/recommend ' ;
24+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Created by PhpStorm.
4+ * User: kilingzhang
5+ * Date: 2020-04-19
6+ * Time: 23:07
7+ */
8+
9+ namespace NeteaseCloudMusicApi \V1 \Event ;
10+
11+
12+ use NeteaseCloudMusicApi \Controller ;
13+
14+ /**
15+ * Class Index
16+ * @package NeteaseCloudMusicApi\V1\Event
17+ *
18+ * 获取动态消息
19+ * 说明:调用此接口,可获取各种动态,对应网页版网易云,朋友界面里的各种动态消息,如分享的视频,音乐,照片等!
20+ *
21+ * 必选参数:
22+ * 未知
23+ *
24+ * 接口地址:
25+ * /event
26+ *
27+ * 调用例子:
28+ * http://i.music.163.com/event
29+ *
30+ */
31+ class Index extends Controller
32+ {
33+ protected $ uri = 'https://music.163.com/weapi/v1/event/get ' ;
34+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Created by PhpStorm.
4+ * User: kilingzhang
5+ * Date: 2020-04-19
6+ * Time: 23:09
7+ */
8+
9+ namespace NeteaseCloudMusicApi \V1 \Program ;
10+
11+
12+ use NeteaseCloudMusicApi \Controller ;
13+
14+ /**
15+ * Class Recommend
16+ * @package NeteaseCloudMusicApi\V1\Program
17+ *
18+ * 推荐节目
19+ * 说明:调用此接口,可获取推荐电台
20+ *
21+ * 接口地址:
22+ * /program/recommend
23+ *
24+ * 调用例子:
25+ * http://i.music.163.com/program/recommend
26+ *
27+ */
28+ class Recommend extends Controller
29+ {
30+ protected $ uri = 'https://music.163.com/weapi/program/recommend/v1 ' ;
31+
32+ protected $ params = [
33+ 'limit ' => 10 ,
34+ 'offset ' => 0
35+ ];
36+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Created by PhpStorm.
4+ * User: kilingzhang
5+ * Date: 2020-04-19
6+ * Time: 23:27
7+ */
8+
9+ namespace NeteaseCloudMusicApi \V1 \Recommend ;
10+
11+ use NeteaseCloudMusicApi \Controller ;
12+
13+ /**
14+ * Class Resource
15+ * @package NeteaseCloudMusicApi\V1\Recommend
16+ *
17+ * 获取每日推荐歌单
18+ * 说明:调用此接口,可获得每日推荐歌单(需要登录)
19+ *
20+ * 接口地址:
21+ * /recommend/resource
22+ *
23+ * 调用例子:
24+ * http://i.music.163.com/recommend/resource
25+ *
26+ */
27+ class Resource extends Controller
28+ {
29+ protected $ uri = 'https://music.163.com/weapi/v1/discovery/recommend/resource ' ;
30+ }
Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Created by PhpStorm.
4+ * User: kilingzhang
5+ * Date: 2020-04-19
6+ * Time: 23:30
7+ */
8+
9+ namespace NeteaseCloudMusicApi \V1 \Recommend ;
10+
11+
12+ use NeteaseCloudMusicApi \Controller ;
13+
14+ /**
15+ * Class Songs
16+ * @package NeteaseCloudMusicApi\V1\Recommend
17+ *
18+ * 获取每日推荐歌曲
19+ * 说明:调用此接口,可获得每日推荐歌曲(需要登录)
20+ *
21+ * 接口地址:
22+ * /recommend/songs
23+ *
24+ * 调用例子:
25+ * http://i.music.163.com/recommend/songs
26+ *
27+ */
28+ class Songs extends Controller
29+ {
30+ protected $ uri = 'https://music.163.com/weapi/v1/discovery/recommend/songs ' ;
31+
32+ protected $ params = [
33+ 'total ' => true ,
34+ 'offset ' => 0 ,
35+ 'limit ' => 20 ,
36+ ];
37+ }
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments