Cheddar-PHP [v1.1] is a PHP5 library that works out of the box with Cheddar.
Cheddar is an minimalist-and-cool task management tool that is always in sync. With the release of their API, I decided that it was time I should release more code on GitHub and I thought Cheddar would be a great start.
Cheddar PHP requires at least PHP 5.3 and cURL.
Upload Cheddar.php to your folder. That's it!
See Example.php
and Simple_Example.php
for a executable demo.
Steps:
- Ensure the file has been included through
require 'Cheddar.php';
- Obtain your Cheddar Application ID/Secret by clicking here.
- Ensure your Return URL is the page where
$cheddar->get_access_token();
is being called! - Place your Application ID/Secret through
$cheddar = new Cheddar\API('app_id=APP ID HERE&app_secret=APP_SECRET_HERE');
. - See
Example.php
and make request you wish. - The data is returned as an Object. Use
var_dump()
orprint_r()
to see the values necessary, or look at the examples.
Have fun!
Hi. I'm Bilawal Hameed. You can visit my website to learn more about me here.