Skip to content

xuwu125/HuicuiApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version Total Downloads Latest Unstable Version License

HuicuiApi

Assemble human API

Huicui Api for PHP

Huicui human Api for PHP (SDK)

Install

Via Composer

$ composer require huicui/huicuiapi

Basic Usage

Have to initialize can be used

Usage Example one.

<?php

require __DIR__ . '/../../autoload.php';
$AppId='';
$appKey='';
$AppSecret='';
$hcapi = new HuicuiApi\HuicuiApi($AppId, $appKey, $AppSecret);

Usage Example two.

<?php

require __DIR__ . '/../../autoload.php';

$AppId='';
$appKey='';
$AppSecret='';

$hcapi = HuicuiApi\HuicuiApi::getInstance($AppId, $appKey, $AppSecret);

具体使用请参考 doc 目录中的文档