Skip to content

brandonrunyon/Forrst-Canopy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

About

Forrst Canopy is an API wrapper for the Forrst API.

Conventions Used

Canopy separates the available methods into individual classes. Therefore, to pull information about a user you would do something like this.

$user_info = ForrstCanopyUser::info('BaylorRae');

// Get a user's posts
$user_posts = ForrstCanopyUser::posts('BaylorRae', array('type' => 'code', 'limit' => 3));

Notice that User::posts has a second parameter. When an API method supports extra parameters you use the syntax showed above.

Available Methods

Look at the wiki for list of methods with their documentation.
https://github.com/BaylorRae/Forrst-Canopy/wiki

Todo

  1. Add support for servers that don't have curl

About

A PHP wrapper for the Forrst API

Resources

Stars

Watchers

Forks

Packages

No packages published