https://github.com/baylorrae/forrst-canopy
A PHP wrapper for the Forrst API
https://github.com/baylorrae/forrst-canopy
Last synced: 9 months ago
JSON representation
A PHP wrapper for the Forrst API
- Host: GitHub
- URL: https://github.com/baylorrae/forrst-canopy
- Owner: BaylorRae
- Created: 2011-04-12T18:59:04.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2012-04-07T16:59:28.000Z (over 14 years ago)
- Last Synced: 2025-04-03T02:51:15.153Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 666 KB
- Stars: 9
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About
Forrst Canopy is an API wrapper for the [Forrst API](http://forrst.com/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.
## Todo
0. Add support for servers that don't have curl