2017 © Pedro Peláez
 

library zhima-credit

zhima credit api. life is hard.

image

monster/zhima-credit

zhima credit api. life is hard.

  • Friday, December 23, 2016
  • by twn39
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Usage

芝麻信用api, (*1)

require 'vendor\autoload.php';

use Monster\Zhima\Client;

$config = new Monster\Zhima\Config();
$config->setAppId('1001528');
$config->setPrivateKey(__DIR__ . '/rsa/rsa_private_key.pem');
$config->setZhimaPublicKey(__DIR__ . '/rsa/rsa_public_key.pem');
$config->setChannel('api');


$creditIvsDetail = new \Monster\Zhima\Handlers\CreditIvsDetail();
$creditIvsDetail->setCertNo('33022719xxxxxxxxxxx');
$creditIvsDetail->setName('张三');
$creditIvsDetail->setCertType('100');

$client = new Client(new \GuzzleHttp\Client(), $config);
$result = $client->with($creditIvsDetail)->fetch();

var_dump($result);

The Versions

23/12 2016

dev-master

9999999-dev

zhima credit api. life is hard.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar twn39

23/12 2016

0.1.1

0.1.1.0

zhima credit api. life is hard.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar twn39