定制 oldtimeguitarguy/mechanical-turk 二次开发

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

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

oldtimeguitarguy/mechanical-turk

Composer 安装命令:

composer require oldtimeguitarguy/mechanical-turk

包简介

An easily-extensible php client for the Amazon Mechanical Turk API

README 文档

README

An easily-extensible php client for the Amazon Mechanical Turk API

As you can probably tell, this is not a complete implementation. Feel free to contribute, but please reference the contribution guidelines below. Thank you!

Installation

Usage

Laravel

Contributing

Adding Operations

  1. Create a new class in src/OldTimeGuitarGuy/MechanicalTurk/Operations that extends from Base\Operation. The class name MUST be the exact name of the operation according to the documentation.
  2. Add an entry to the operations array in src/OldTimeGuitarGuy/MechanicalTurk/Requester.php. The key must be the camelcase version of the operation name.
  3. Add an entry to the documentation array in src/OldTimeGuitarGuy/MechanicalTurk/Exceptions/MechanicalTurkOperationException.php. The key must be the exact name of the operation according to the documentation.
  4. Create a new (passing) test class in tests/ that extends from OperationTestCase. The name of the class MUST be the exact name of the operation according to the documentation, followed by Test. (ex. tests/CreateHITTest.php) Reference the other tests for formatting examples.

When defining satisfiesRequirements, you can use the instance method isSetOn to easily determine the requirements.

NOTE: You should NOT include Operation as a requirement, as this will be set automatically during the request.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固