Giter Site home page Giter Site logo

php-byrobot's Introduction

php-byrobot

ENGLISH | 中文

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

百应智能外呼系统 API

目录

src/
tests/

安装

Via Composer

$ composer require yiranzai/byrobot

使用

初始化

$robot = Yiranzai\Byrobot\Byrobot::init(
    [
        'appKey' => 'YOU_APP_KEY',
        'appSecret' => 'YOU_APP_SECRET'
    ]);

or

$robot = Yiranzai\Byrobot\Byrobot::init();
$robot->key(YOU_APP_KEY)->secret(YOU_APP_SECRET);

API

  • $robot->getCompanys() // 获取绑定公司列表接口
  • $robot->getPhones() // 获取公司的主叫电话列表接口
  • $robot->getRobots() // 获取公司的机器人话术列表接口
  • $robot->addBlackList() // 添加单个黑名单到公司默认黑名单组接口
  • $robot->statistics() // 获取公司 AI 坐席概况接口
  • $robot->createTask() // 创建任务接口
  • $robot->start() // 启动任务接口
  • $robot->pause() // 暂停任务接口
  • $robot->stop() // 停止任务接口
  • $robot->delete() // 删除任务
  • $robot->importTaskCustomer() // 向任务中导入客户接口
  • $robot->update() // 修改任务
  • $robot->call() // 单次电话外呼
  • $robot->singleCallByMobile() // 根据手机号进行单次电话外呼
  • $robot->getTasks() // 获取任务列表接口
  • $robot->getTaskDetail() // 获取任务详情接口
  • $robot->queryDoneTaskPhones() // 获取已经完成任务电话号码接口
  • $robot->notDialedCustomerList() // 获取任务未开始的电话列表
  • $robot->phoneLogInfo() // 获取一个通话的详情接口

Change log

Please see CHANGELOG for more information on what has changed recently.

测试

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

安全

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

php-byrobot's People

Contributors

yiranzai avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.