clemfromspace/grooveshark-php-api
Composer 安装命令:
composer require clemfromspace/grooveshark-php-api
包简介
PHP implementation of Grooveshark's Web API.
关键字:
README 文档
README
This is a PHP implementation of the Grooveshark Web API.
Requirements
PHP 5.3 or greater.
Installation
Using composer:
"require": { "clemfromspace/grooveshark-php-api": "dev-master" }
Examples
First, request a session ID using your application credentials.
$session = new GroovesharkAPI\Session('YOUR APPLICATION KEY', 'YOUR APPLICATION SECRET'); $session->startSession(); $api = new GroovesharkAPI\GroovesharkAPI($session);
Using this session object, initialize the client :
$api = new GroovesharkAPI\GroovesharkAPI($session);
You can now send requests to Grooveshark's API :
$response = $api->getSongSearchResults('Beat it');
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-16