jleagle/btn-api-client

There is no license information available for the latest version (0.0.2) of this package.

A helper class to access data from the BTN API

0.0.2 2015-09-03 22:11 UTC

This package is auto-updated.

Last update: 2024-11-09 13:18:09 UTC


README

Build Status (Scrutinizer) Code Quality (scrutinizer) Latest Stable Version Latest Unstable Version

A helper class to access data from the BTN API (http://btnapps.net/)

Usage

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();
}