2017 © Pedro Peláez
 

library gigi-music

a toolbox for gigi's music

image

freelancersinchina/gigi-music

a toolbox for gigi's music

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

gigi-music

a composer package,showing how to create an own package., (*1)

what does the package do ?

this is a tool used to get a random or sequence list of Gigi's songs.it is based on the netease music's api., (*2)

Usage

first,install freelancersinchina/gigi-music., (*3)

> composer require freelancersinchina/gigi-music

second,include the autoload function and enjoy using the gigi-music., (*4)

require_once("./vendor/autoload.php");
use Gigi;

// get a random list of songs
$songlist = new  GigiMusic(GigiMusic::GigiMusicType_Random);

// or get a sequence list of songs
// $songlist = new GigiMusic(GigiMusic::GigiMusicType_Sequence);

// suppose that we need to get  10 songs
$count = 10;

// get detail infos
$songs = $songlist->getFirst($count);

print_r($songs);

The Versions

19/04 2017

dev-master

9999999-dev

a toolbox for gigi's music

  Sources   Download

MIT

The Requires

 

19/04 2017

v0.1.0

0.1.0.0

a toolbox for gigi's music

  Sources   Download

MIT

The Requires