8000 GitHub - eschool/uboost: A PHP client library for the uboost API
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

eschool/uboost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Library to interface with uBoost.com using cURL.

Released under FREEBSD license
Copyright eSchool Consultants 2010-2011
version 0.3

Functionality:
Add a student to uboost
Add points to a student account
Get a single sign on token
Get groups
Create a group

Usage:
    ### Initialize ###
        $uboost = new uboost('https://example.uboost.com', 'username', 'password');

    ### Add account ###
        $params = array();
        $params['user_name'] = 'student_user_name';
        $simple_xml_response = $uboost->add_student($params);

        $student_uboost_id = $simple_xml_response->id;

    ### Add points ###
        $point_amount = 100;
        $uboost->add_points($student_uboost_id, $point_amount, 'Point Award Message');

    ### Get single sign on token ###
        $sso_info = $uboost->get_sso($student_uboost_id);
        $sso_token = $sso_info->sso-token;
        $sso_expires = $sso_info->sso-token-expires-at;

    ### Get groups ###
        $groups = $uboost->get_groups();

    ### Create a group ###
        $uboost->create_group('API test');

About

A PHP client library for the uboost API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0