matthewnw/zoho-api 问题修复 & 功能扩展

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

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

matthewnw/zoho-api

Composer 安装命令:

composer require matthewnw/zoho-api

包简介

A class to consume Zoho's Creator and Reports API.

README 文档

README

Library offers API wrapper for Zoho Creator and Zoho Reports https://www.zoho.com.

PSR-4 compatible

Features

  • Access Creator applications and get/add/delete records
  • Access Reports and import/export data

Installation

The preferred way to install the library is using composer.

Run:

composer require matthewnw/zoho-api

Examples

Creator Example

use Matthewnw\Zoho\Creator\ZohoCreatorClient;

// Initializes the class.
$zohoCreatorClient = new ZohoCreatorClient($apiToken);

// Get a list of available Applications
$creatorapplications = $zohoCreatorClient->applications();

// Get a specific Application instance
$creatorapplication = $zohoCreatorClient->application($applicationName);

// get records from a Creator View and chain application method
$creatorViewRecords = $zohoCreatorClient->application($applicationName)->getRecords($viewName);

// add records form a Creator Form
$creatorapplication->add($formName, $dataArray);

Reports Example

use Matthewnw\Zoho\Creator\ZohoCreatorClient;

$zohoReportsClient = new ZohoReportsClient($apiToken);

// https://zohoreportsapi.wiki.zoho.com/importing-bulk-data.html
$uri = $zohoReportsClient->getURI($emailId, $reportsDatabaseName, $reportsTableName);
$importType = 'TRUNCATEADD'; // APPEND, TRUNCATEADD, UPDATEADD
$autoIdentify = 'TRUE';
$onError = 'ABORT';
$importData = json_encode($report_leads);
$config = ['ZOHO_IMPORT_FILETYPE' => 'JSON'];

$importReports = $zohoReportsClient->importDataAsString($uri, $importType, $importData, $autoIdentify, $onError, $config);

Zoho API Documentation

Reports API

https://zohoreportsapi.wiki.zoho.com/

ReportClient.php API Guide

https://www.zoho.com/reports/api/?php#zoho-reports-api

Creator API

https://www.zoho.eu/creator/help/api/

Author

Matthew Williams matthew@codelaunch.uk

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固