yzpeedro / genius-php-sdk
Genius API 软件开发工具包
1.0.1
2022-02-20 22:09 UTC
Requires
- ext-curl: *
- ext-json: *
- ext-simplexml: *
This package is auto-updated.
Last update: 2024-09-21 04:38:53 UTC
README
欢迎使用 Genius API 软件开发工具包
安装
使用 composer
composer require yzpeedro/genius-php-sdk
基本用法
require __DIR__ . "/vendor/autoload.php"; // get GeniusSDK class use Yzpeedro\GeniusPhpSdk\Genius; // initiate Genius $genius = new Genius('YOUR_ACCESS_TOKEN'); // get artist by id $artist = $genius->artist('artist_id'); // get song by id $song = $genius->song('song_id'); // get annotation by id $annotation = $genius->annotations('annotation_id'); // get referents by id $referent = $genius->referents('web_page_id'); // get webPage $webPages = $genius->webPage('raw_annotatable_url', 'canonical_url', 'og_url'); // get result from search in Genius database $search = $genius->search('query');
文档
您可以在文档中了解更多信息
免责声明
如果您是 Genius API 的技术负责人或版权所有者,并希望删除此存储库,请通过以下邮箱联系我:pedrocruzpessoa16@gmail.com