资 源 简 介
ManyouPHP: 漫游PHP开发包
详细文档URL
Manyou-WIKI
环境:
(PHP 4, PHP 5)
代码示列:
Manyou 接口实例程序(PHP版)
$api\_key, $api\_secret 应用key 和 应用secret
User.getInfo // 实例化Manyou类库 $manyou = new Manyou($api_key, $api_secret); $userInfo = $manyou->api_client->user_getInfo(1591209, array("uid", "name", "site", "admin_levle") );
User.getLoggedInUser // 实例化Manyou类库 $manyou = new Manyou($api_key, $api_secret); $uid = $manyou->api_client->user_getLoggedInUser();
User.getLoggedInUserLevel // 实例化Manyou类库 $manyou = new Manyou($api_key, $api_secret); $uid = $manyou->api_client->user_user_getLoggedInUserLevel();
user.isAppAdded // 实例化Manyou类库 $manyou = new Manyou($api_key, $api_secret); $isAppAdded = $manyou->api_client->user_isAppAdd