4 Star 2 Fork 0

广州畅联信息科技有限公司 / api-sdk

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

uclbrt-api-sdk

Introduction

This SDK is to help the developer to quickly connect to the QR Master Access Management System.

Installation

$ composer require uclbrt/api-sdk

Instructions

Create room key
use uclbrt\Key;
...
try{
    $key = new Key([
        'accountSid' => 'your account sid from QR Master',
        'authToken' => 'your auth token from QR Master',
    ]);
    $key->setCommunityNo('your community No. from QR Master');
    $key->setCommunityTimezone('Timezone set in the information of community of QR Master, eg: Asia/Shanghai, Etc/GMT-8');
    
    $cardNo = $key->createRoomKey($mobile, $areaCode, $roomNo, $floorNo, $buildNo);
}
catch (Exception $e)
{
    // Your wrong operation
}
...

Reference link

  1. QR Master http://qrm.uclbrt.com/
  2. DevelopDoc http://qrm.uclbrt.com/openProfile.html#openCenterMenuAnchor

Licence code

The MIT License (MIT).For more information, please refer to License code.

Comments ( 0 )

Sign in for post a comment

About

API SDK for Qrmaster spread retract
PHP
MIT
Cancel

Releases (2)

All

Contributors

All

Activities

load more
can not load any more
PHP
1
https://gitee.com/uclbrt/api-sdk.git
git@gitee.com:uclbrt/api-sdk.git
uclbrt
api-sdk
api-sdk
master

Search