Skip to content

一个没被加入的接口 #8

@raphaelsoul

Description

@raphaelsoul

这个接口用于获取用户常听排行榜。

public function record($uid, $type=1){
		$url='http://music.163.com/weapi/v1/play/record?csrf_token=';
		$data=array(
			'uid'=>$uid,
			'type'=>$type,
			'csrf_token'=>'',
		);
		return $this->curl($url,$this->prepare($data));
	}

type=1时只返回weekData, type=0时返回allData。建议加入

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions