首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > PHP的包装为Echo Nest的API

PHP的包装为Echo Nest的API

  • 资源大小:5.90 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php api echonest 包装

资 源 简 介

A fully object-oriented PHP wrapper for the Echo Nest API. Most of the code (pretty much all of it) is ported from the python wrapper found at http://code.google.com/p/pyechonest/. Track $track = new Track(url / local filename / md5 / echonest id)echo $track->duration;foreach ($track->metadata as $k => $v){ ....} There is also a static method "search_tracks" that allows searching for tracks: Track::search_tracks($name, $start=0, $rows=15) Artist $artist = new Artist(echonest id);echo $artist->name;foreach ($artist->audio as $audioclip){ ...} There is also a static method "search_artists" that allows searching for artists: Artist::search_artists($name, $exact=false, $sounds_like=true, $rows=15)

文 件 列 表

api
artist.php
config.php
document.php
track.php
utils.php
test.php
VIP VIP
0.181890s