PHP code example of cz88 / cz88_php_sdk
1. Go to this page and download the library: Download cz88/cz88_php_sdk 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/ */
cz88 / cz88_php_sdk example snippets
// 这里传入你的AppCode
$client = new \Cz88\IpSDK\CzClient('bfda20b54da6479cb76a5dxxxx');
$arr1 = $client->query('114.114.114.114');
$arr2 = $client->query('114.114.115.115');
var_dump($arr1);
var_dump($arr2);
shell
composer