budgetlens/copernica-rest-api-client 问题修复 & 功能扩展

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

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

budgetlens/copernica-rest-api-client

最新稳定版本:v3.0.3

Composer 安装命令:

composer require budgetlens/copernica-rest-api-client

包简介

Copernica Rest API client

README 文档

README

Copernica API documentation

Requirements

To use the Copernica Rest API client, the following things are required:

Installation

Install package using composer

composer require budgetlens/copernica-rest-api-client

Getting started

$accessToken = 'your-token';
$client = new \Budgetlens\CopernicaRestApi\Client($accessToken);

If required additional configuration can be added by supplying an additional config

class MyConfig implements Budgetlens\CopernicaRestApi\Contracts\Config
{
    public function getEndpoint(): string
    {
        return 'https://api.copernica.com/v3';
    }

    public function getMiddleware(): array
    {
        return $this->middleware;
    }

    public function addMiddleware($middleware)
    {
        $this->middleware[] = $middleware;
    }

    public function getTimeout(): int
    {
        return 180;
    }

    public function getUserAgent(): string
    {
        return '';
    }
}
$client->setConfig($config);

Examples

for examples see "tests folder"

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-02-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固