Jleagle / btn-api-client

A wrapper class for the BTN API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

btn-api-client

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

About

A wrapper class for the BTN API


Languages

Language:PHP 100.0%