A helper class to access data from the BTN API (http://btnapps.net/)
Instantiate Btn() with your API key:
$btn = new \Jleagle\Btn\Btn($apiKey);
Get blog posts:
try
{
print_r($btn->getBlog());
}
catch(Exception $e)
{
echo $e->getMessage();
}
A wrapper class for the BTN API
A helper class to access data from the BTN API (http://btnapps.net/)
Instantiate Btn() with your API key:
$btn = new \Jleagle\Btn\Btn($apiKey);
Get blog posts:
try
{
print_r($btn->getBlog());
}
catch(Exception $e)
{
echo $e->getMessage();
}