uicosss/aits_person_lookup_confidential
Composer 安装命令:
composer require uicosss/aits_person_lookup_confidential
包简介
PHP Wrapper API for the AITS Person Lookup Confidential API
README 文档
README
AITS - Person Lookup Confidential
PHP library for using the AITS Person Lookup Confidential API. Contact AITS for additional implementation details.
Usage
To use the library, you need to:
Include library in your program
require_once 'AitsPersonLookupConfidential.php';
or use composer
composer require uicosss/aits_person_lookup_confidential
require_once 'vendor/autoload.php';
Instantiate an object of the class
$apiUrl = 'apiurl.com/without/trailing/slash'; // Contact AITS for this
$subscriptionKey = 'YOUR_SUBSCRIPTION_KEY'; // Contact AITS for this
$personApi = new uicosss\AitsPersonLookupConfidential($apiUrl, $subscriptionKey);
Getting Results from an API call
The default response will be JSON, but you can also request the raw data which will be an object of StdClass. Contact AITS for additional details on API schema.
$lookupKey = 'sparky'; // NetID or UIN
$personApi->findPerson($lookupKey); // Conduct the person lookup
echo $personApi->getResponse(true); // See raw JSON response
$json = $personApi->getResponse(); // Get decoded JSON array
Examples:
You can use the attached examples/cli-test.php file from the command line to test functionality.
php cli-test.php apiurl.com/without/trailing/slash YOUR_SUBSCRIPTION_KEY lookupkey
uicosss/aits_person_lookup_confidential 适用场景与选型建议
uicosss/aits_person_lookup_confidential 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 236 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 05 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 uicosss/aits_person_lookup_confidential 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 uicosss/aits_person_lookup_confidential 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 236
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-16