Getting Started
Usage
It's super simple. Just include autoload.php
in your PHP file - now you can use every class from src
directory!
Example usage:
require_once('autoload.php'); $geniusphp = new \Genius\Genius('access_token'); // let's search for the most popular song on Genius for Kendrick Lamar $search = $geniusphp->search->get('Kendrick Lamar')->response->hits[0]->result->id // and get everything about that song $song = $geniusphp->songs->get( $search );