承接 teakowa/octo 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

teakowa/octo

Composer 安装命令:

composer require teakowa/octo

包简介

A composer package to simple use music service API.

README 文档

README

A composer package to simple use music service API.

Travis (.org) StyleCI PHP from Packagist Packagist Version LICENSE LICENSE 996.icu

Feature

We have supported the following music service providers:

  • Kugou
  • Tencent

Installation

composer require teakowa/octo

Usage

use Teakowa\Octo\Adapter\Headers;
use Teakowa\Octo\Adapter\Guzzle as Adapter;
use Teakowa\Octo\Provider\Kugou;
use Teakowa\Octo\Provider\Tencent;

$adapter = new Adapter(new Headers());
$data    = new API($adapter);
$kugou   = new Kugou($adapter);
$tencent = new Tencent($adapter);

Kugou

$kugou->artist($id)->info();
$kugou->artist($id)->pic();
$kugou->artist($id)->fans();
$kugou->song($hash)->info();
$kugou->song($hash)->special();

Tencent

$tencent->artist($id)->info();
$tencent->album($mid)->pic();
$tencent->song($mid)->info();

LICENSE

The code in this repository, unless otherwise noted, is under the terms of both the Anti 996 License and the Apache License (Version 2.0).

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2019-08-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固