kayrah87/shortcut-api 问题修复 & 功能扩展

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

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

kayrah87/shortcut-api

最新稳定版本:1.0.1

Composer 安装命令:

composer require kayrah87/shortcut-api

包简介

A simple library for accessing the shortcut.com v3 API

README 文档

README

A library for accessing the Shortcut.com V3 API

Installation

You can install this library using composer:

composer require kayrah87/shortcut-api

Usage

To use this library, you need to create a new instance of the ShortcutApi class:

$api = new kayrah87\Shortcut('YOUR_SHORTCUT_TOKEN');

You can then utilise this as follows:

Get

Gets a list of all of the selected objects:

$api->get('object-name');

Gets a specific object:

$api->get('object-name', OBJECT_ID);

The list of objects can be found on the Shortcut.com API documentation. However, you may be able to guess most of them.

  • stories
  • epics
  • iterations
  • etc etc

Create

Creates a new object:

$api->create('object-name', [
    // object fields
    ]);

Again, the specific object fields can be found on the Shortcut.com API documentation.

Update

Updates an existing object:

$api->update('object-name', OBJECT_ID, [
    // object fields
    ]);

Delete

Deletes an existing object:

$api->delete('object-name', OBJECT_ID);

License

This library is licensed under the MIT license. Please see the LICENSE file for more information. Feel free to use this library in your own projects or to fork it. Thanks!

Contributing

This library is open source. You can contribute by opening a pull request on Github.

Bugs

Please report any bugs or issues to Github.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-04-28