stounhandj/yandex-music-api 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

stounhandj/yandex-music-api

Composer 安装命令:

composer require stounhandj/yandex-music-api

包简介

README 文档

README

Total Downloads Latest Stable Version License

Not an official package for working with the Yandex API.

Installation

$ composer require stounhandj/yandex-music-api

Or

{
    "require": {
        "stounhandj/yandex-music-api": "^0.5.2"
    }
}

Example get likes tracks

use StounhandJ\YandexMusicApi\Client;

$token = "AQAAAAANDd5rMAG1XnIKIEVVMGV4ibf8kw3FeA1";
$client = new Client($token);

foreach ($client->getLikesTracks() as $track){
    echo $track->title;
}

Example of downloading the first track from the album you like

use StounhandJ\YandexMusicApi\Client;

$token = "AQAAAAANDd5rMAG1XnIKIEVVMGV4ibf8kw3FeA1";
$client = new Client($token);

$likesAlbum = $client->getLikesAlbums()[0];
$firstTrack = $likesAlbum->getTracks()[0];
$result = $firstTrack->downloadTrack("test.mp3");

统计信息

  • 总下载量: 99
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-06-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固