Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A PHP wrapper for the Forrst API
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
forrst-canopy.php
index.php

README.md

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
Something went wrong with that request. Please try again.