javadi/daart-ads
最新稳定版本:1.1.0
Composer 安装命令:
composer require javadi/daart-ads
包简介
Smart Ads PHP Library by Daart Company
README 文档
README
You can use this library to access the DaartAds APIs.
Requirements
- PHP >= 7.3
- Your server has to have CURL enabled. (How to enable CURL)
Installation
composer require javadi/daart-ads
Usage
require __DIR__ . "/../vendor/autoload.php"; // Your api key needs to be initialised here. $DaartADS = new \javadi\DaartAgency\DaartAds(YOUR_API_KEY); // For Get ADS: $ads = $DaartADS->GetADS();
- You will receive a list with all the information for the show ADS
{
"image_url": "IMAGE_LINK",
"url": "REDIRECT_LINK"
}
From versions V1.1 and after, we'll provide the redirect link for you; you don't need to construct it yourself.
A complete demo is available at Demo/demo.php
统计信息
- 总下载量: 36
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-12-05