{"id":18633115,"url":"https://github.com/yiranzai/php-byrobot","last_synced_at":"2025-04-11T07:32:03.444Z","repository":{"id":57087314,"uuid":"177058259","full_name":"yiranzai/php-byrobot","owner":"yiranzai","description":"百应智能外呼系统API","archived":false,"fork":false,"pushed_at":"2019-04-08T06:57:28.000Z","size":23,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T13:41:11.544Z","etag":null,"topics":["byrobot","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yiranzai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-22T02:31:06.000Z","updated_at":"2024-06-14T08:00:03.000Z","dependencies_parsed_at":"2022-08-24T10:40:52.506Z","dependency_job_id":null,"html_url":"https://github.com/yiranzai/php-byrobot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiranzai%2Fphp-byrobot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiranzai%2Fphp-byrobot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiranzai%2Fphp-byrobot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yiranzai%2Fphp-byrobot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yiranzai","download_url":"https://codeload.github.com/yiranzai/php-byrobot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223460631,"owners_count":17148760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["byrobot","php"],"created_at":"2024-11-07T05:14:23.742Z","updated_at":"2024-11-07T05:14:24.381Z","avatar_url":"https://github.com/yiranzai.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-byrobot\n\n[ENGLISH](docs/README_EN.md) | [中文](README.md)\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](docs/LICENSE.md)\n[![Build Status][ico-travis]][link-travis]\n[![Coverage Status][ico-scrutinizer]][link-scrutinizer]\n[![Quality Score][ico-code-quality]][link-code-quality]\n[![Total Downloads][ico-downloads]][link-downloads]\n\n百应智能外呼系统 API\n\n## 目录\n\n```\nsrc/\ntests/\n```\n\n## 安装\n\nVia Composer\n\n```bash\n$ composer require yiranzai/byrobot\n```\n\n## 使用\n\n### 初始化\n\n```php\n$robot = Yiranzai\\Byrobot\\Byrobot::init(\n    [\n        'appKey' =\u003e 'YOU_APP_KEY',\n        'appSecret' =\u003e 'YOU_APP_SECRET'\n    ]);\n```\n\nor\n\n```php\n$robot = Yiranzai\\Byrobot\\Byrobot::init();\n$robot-\u003ekey(YOU_APP_KEY)-\u003esecret(YOU_APP_SECRET);\n```\n\n### API\n\n-   `$robot-\u003egetCompanys()` // 获取绑定公司列表接口\n-   `$robot-\u003egetPhones()` // 获取公司的主叫电话列表接口\n-   `$robot-\u003egetRobots()` // 获取公司的机器人话术列表接口\n-   `$robot-\u003eaddBlackList()` // 添加单个黑名单到公司默认黑名单组接口\n-   `$robot-\u003estatistics()` // 获取公司 AI 坐席概况接口\n-   `$robot-\u003ecreateTask()` // 创建任务接口\n-   `$robot-\u003estart()` // 启动任务接口\n-   `$robot-\u003epause()` // 暂停任务接口\n-   `$robot-\u003estop()` // 停止任务接口\n-   `$robot-\u003edelete()` // 删除任务\n-   `$robot-\u003eimportTaskCustomer()` // 向任务中导入客户接口\n-   `$robot-\u003eupdate()` // 修改任务\n-   `$robot-\u003ecall()` // 单次电话外呼\n-   `$robot-\u003esingleCallByMobile()` // 根据手机号进行单次电话外呼\n-   `$robot-\u003egetTasks()` // 获取任务列表接口\n-   `$robot-\u003egetTaskDetail()` // 获取任务详情接口\n-   `$robot-\u003equeryDoneTaskPhones()` // 获取已经完成任务电话号码接口\n-   `$robot-\u003enotDialedCustomerList()` // 获取任务未开始的电话列表\n-   `$robot-\u003ephoneLogInfo()` // 获取一个通话的详情接口\n\n## Change log\n\nPlease see [CHANGELOG](docs/CHANGELOG.md) for more information on what has changed recently.\n\n## 测试\n\n```bash\n$ composer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](docs/CONTRIBUTING.md) and [CODE_OF_CONDUCT](docs/CODE_OF_CONDUCT.md) for details.\n\n## 安全\n\nIf you discover any security related issues, please email wuqingdzx@gmail.com instead of using the issue tracker.\n\n## Credits\n\n-   [yiranzai][link-author]\n-   [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](docs/LICENSE.md) for more information.\n\n[ico-version]: https://img.shields.io/packagist/v/yiranzai/byrobot.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-travis]: https://img.shields.io/travis/yiranzai/php-byrobot/master.svg?style=flat-square\n[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/yiranzai/php-byrobot.svg?style=flat-square\n[ico-code-quality]: https://img.shields.io/scrutinizer/g/yiranzai/php-byrobot.svg?style=flat-square\n[ico-downloads]: https://img.shields.io/packagist/dt/yiranzai/byrobot.svg?style=flat-square\n[link-packagist]: https://packagist.org/packages/yiranzai/byrobot\n[link-travis]: https://travis-ci.org/yiranzai/php-byrobot\n[link-scrutinizer]: https://scrutinizer-ci.com/g/yiranzai/php-byrobot/code-structure\n[link-code-quality]: https://scrutinizer-ci.com/g/yiranzai/php-byrobot\n[link-downloads]: https://packagist.org/packages/yiranzai/byrobot\n[link-author]: https://github.com/yiranzai\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiranzai%2Fphp-byrobot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyiranzai%2Fphp-byrobot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyiranzai%2Fphp-byrobot/lists"}