opensdk/dacaiji

大采集API SDK

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Type:libaray

V1.0.0 2019-09-28 03:03 UTC

This package is not auto-updated.

Last update: 2020-08-02 11:21:37 UTC


README

介绍

本类库是对大采集开放平台API的封装
接口文档请参见 大采集开放平台

使用示例

require 'vendor/autoload.php';

use OpenSDK\DaCaiJi\Client;
use OpenSDK\DaCaiJi\Requests\HotRequest;

$c = new Client();
$c->appKey = 'You are appKey';
$req = new HotRequest();
$req->setPage(1);
$req->setPageSize(2);
$c->setRequest($req);
$result = $c->execute();

var_dump($result);