droogle/gci-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

droogle/gci-php

Composer 安装命令:

composer require droogle/gci-php

包简介

Google Code-in API Task Management

README 文档

README

This API can be used to access Google Code-in's Task API to request, update and modify task definition.

Drupal

This tool is maintained by the Drupal community. Special credit goes to Shitiz Garg who created this SDK.

Installation

Library can be installed from composer using composer require droogle/gci-php or adding droogle/gci-php to your composer dependencies

Example

This is a simplified example of handling tasks via the API

$client = new Droogle\GCI\Client('<api key>');
$taskList = $client->getTasks(2); // Get tasks from second page
foreach ($taskList as $task) {
    echo $task->getId() . ' ' . $task->getName(); // See src/TaskInterface.php for full function list
}
$nextPage = $taskList->getNextPage();

// Get the details of a single task
$id = 123; // Task ID
$task = $client->getTask($id);
echo $task->getDescription();

// Create a new task
$task = new Droogle\GCI\Task([
    'name' => 'Test task',
    'description' => 'Adding a new task',
    'status' => Droogle\GCI\TaskInterface::STATUS_DRAFTED,
    ...
]);
$client->createTask($task);

License

The MIT License (See LICENSE)

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固