PHP code example of wang-tech-commits / qichacha-api
1. Go to this page and download the library: Download wang-tech-commits/qichacha-api library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
wang-tech-commits / qichacha-api example snippets
use MrwangTc\QichachaApi\Api;
$config = [
'key' => 'key',
'SecretKey' => 'secret',
];
// 初始化配置
$qichacha = new Api($config);
// 企业工商模糊搜索
return $qichacha->fuzzySearch('企业名称');
// 企业工商数据查询(多维度查询)
return $qichacha->searchWide('企业名称');
// 企业工商数据查询(企业工商详情)
return $qichacha->getBasicDetailsByName('企业名称');
// 获取工商快照
return $qichacha->getEciImage('企业名称');
// 企业工商模糊搜索
return $qichacha->eciInfoVerify('企业名称');
// 企业三要素核验
return $qichacha->eciThreeElVerify('统一社会信用代码', '企业名称', '法人名称');
// 企业工商风险扫描(全项)
return $qichacha->eciInfoOverview('企业名称');
// 企业自身风险扫描
return $qichacha->companySelfRiskCount('企业名称');
// 失信核查
return $qichacha->shiXinCheck('企业名称');
// 经营异常核查
return $qichacha->exceptionCheck('企业名称');
// 税收违法核查
return $qichacha->taxIllegalCheck('企业名称');
// 行政处罚核查
return $qichacha->adminPenaltyCheck('企业名称');
// 限制高消费核查
return $qichacha->sumptuaryCheck('企业名称');
// 严重违法核查
return $qichacha->seriousIllegalCheck('企业名称');
// 清算核查
return $qichacha->liquidationCheck('企业名称');
// 简易注销核查
return $qichacha->simpleCancelCheck('企业名称');
// 注销备案核查
return $qichacha->offFilingCheck('企业名称');
// 欠税公告核查
return $qichacha->taxOweNoticeCheck('企业名称');
// 股权冻结核查
return $qichacha->equityFreezeCheck('企业名称');
// 股权质押核查
return $qichacha->stockRightPledgeCheck('企业名称');
// 营业执照识别
return $qichacha->imageRecognitionCompare('营业执照地址');