定制 doctorsender/webservice 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

doctorsender/webservice

最新稳定版本:0.1

Composer 安装命令:

composer require doctorsender/webservice

包简介

Api to controll doctorsender service

README 文档

README

Doctorsender webservice to manage campaings, lists, users, etc..

##Install

composer require doctorsender/webservice:dev-master

Add it to your AppKernel.php

public function registerBundles()
    {
        $bundles = array(
            ...
            new Doctorsender\APIBundle\DoctorsenderAPIBundle()
        );

##Configure

Add in your config.yml or import configuration file.

doctorsender_api:
    user: "username"
    token: "your_api_token"

You can get your doctorsender ID from DOCTORSENDER

You can override the api endpoint url by adding yourself the key [url]

doctorsender_api:
    url: http://soapwebservice.doctorsender.com/server.wsdl <-default value
    user: "username"
    token: "your_api_token"

##Usage

This bundle provides a service called 'doctorsender' with all necessary method to make api calls to doctorsender.

Controller example:

public function defaultAction(){
    $doctorsender = $this->get('doctorsender');
    $doctorsender->dsCampaignNew(....);
    ...
}

You can find extended webservice api info in this link: API DOCS

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache2
  • 更新时间: 2014-12-09