marketingplatform/api_parser_v2 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marketingplatform/api_parser_v2

最新稳定版本:2.0

Composer 安装命令:

composer require marketingplatform/api_parser_v2

包简介

PHP class for using our company's API v2 as part of the subscription

README 文档

README

PHP class for using our company's API v2 as part of the subscription.


Installation

Run following command in terminal from the root of your project:

composer require marketingplatform/api_parser_v2

You can load dependencies by adding these lines to your code:

require_once 'vendor/marketingplatform/api_parser/src/settings.php';
require_once 'vendor/marketingplatform/api_parser/src/ApiParser.class.php';

How to use

  1. Set up your API credentials (apiusername & apitoken) into settings.php
  2. Create instance from ApiParser.class.php
$parser = new ApiParser($settings);
  1. Call method from ApiParser
$listid = 24;
$emailaddress = "contact@marketingplatform.com";
$mobileNumber = "72444444";
$mobilePrefix = "45";
$confirmed = false;
$addToAutoreposnders = false;

$result = $parser->AddProfileToList($listid, $emailaddress, $mobileNumber, $mobilePrefix, $confirmed, $addToAutoreposnders);

print_r($result);

Changelog:

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-09-20