wisembly/clearbit-php
最新稳定版本:2.1.0
Composer 安装命令:
composer require wisembly/clearbit-php
包简介
Clearbit API client
README 文档
README
PHP SDK for Clearbit API (http://clearbit.com).
This SDK is NOT official, heavily inspired by docker-php.
We developed and maintain this library for our own usage and released it open source (see LICENCE.md) if it could help.
Clearbit and its API belongs to Clearbit.
Install
This client use httplug for http client. Please select a client for your application and select a MessageFactory.
Example with guzzle6 as client and guzzlehttp as message factory:
"wisembly/clearbit-php": "^2.0",
"php-http/guzzle6-adapter": "^1.0",
"guzzlehttp/psr7": "^1.2"
Basic usage
<?php require_once 'vendor/autoload.php'; use Clearbit\Clearbit; $clearbit = Clearbit::create($token); $combined = $clearbit->getCombined('foo@bar.com'); var_dump($combined->getPerson()); var_dump($combined->getCompany());
Testing
Run bin/phpunit
Resources
Resources this API supports:
| Uri | Methods | Comments |
|---|---|---|
| https://person.clearbit.com/v2/combined/find?email=:email | GET |
Developer
This client is build using jane-openapi. To generate the classes:
./vendor/bin/jane-openapi generate combined-swagger.json Clearbit\\Generated generated
Licence
See LICENCE file.
统计信息
- 总下载量: 22.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 10
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-30