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
- Create a new class in
src/OldTimeGuitarGuy/MechanicalTurk/Operationsthat extends fromBase\Operation. The class name MUST be the exact name of the operation according to the documentation. - Add an entry to the operations array in
src/OldTimeGuitarGuy/MechanicalTurk/Requester.php. The key must be the camelcase version of the operation name. - 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. - Create a new (passing) test class in
tests/that extends fromOperationTestCase. 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 methodisSetOnto 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
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-27