GithubHelp home page GithubHelp logo

symplicity / clearbit-php Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wisembly/clearbit-php

0.0 10.0 0.0 50 KB

PHP SDK for Clearbit API (http://clearbit.com).

License: MIT License

PHP 100.00%

clearbit-php's Introduction

clearbit-php

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('[email protected]');

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.

clearbit-php's People

Contributors

krichprollsch avatar lordoffreaks avatar lunika avatar namkn avatar taylornotwell avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.