yzpeedro / genius-php-sdk
Software development kit for 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: 2025-06-21 06:11:57 UTC
README
Welcome to Software development kit for Genius api
Installation
using composer
composer require yzpeedro/genius-php-sdk
Basic Usage
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');
Documentation
You can see more about in Documentation
Disclaimer
If you are a tech lead or copyright owner of the Genius api and would like this repository removed, please contact me at: pedrocruzpessoa16@gmail.com