承接 g3n1us/datatidy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

g3n1us/datatidy

Composer 安装命令:

composer require g3n1us/datatidy

包简介

Get data from Google Sheets or other sources, and return standardized, structured, tidy data

README 文档

README

Get data from Google Sheets and other sources, and return standardized, structured, tidy data

Usage

Options

$defaultoptions = [
	'allow_origin' => null, // If a response is to be generated, this value will be applied to an Access-Control-Allow-Origin header
	'resultsas' => 'collection', // or paginate or array
	'sort' => false, // key by which to sort
	'ascending' => false, // applies to the sort order
	'nomd' => false, // my default, content will be converted to HTML with Markdown, this option disables this
	'paginate' => false,
	'show_pagination' => true,
	'results_per_page' => 12,
];

Arguments

URI or path to retrieve data.

To retrieve a Google Sheets spreadsheet, use the format: gproxy://<spreadsheet-key>

NOTE: The spreadsheet must be published publicly!

For other JSON formatted URIs, specify either a relative or absolute endpoint to retrieve

OPTIONS: An array of options as shown above

Call via static methods

DataTidy::response("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk", ['allow_origin' => '*']);
// Returns a full Response

DataTidy::get("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk");
// Returns the data as an instance of Illuminate\Collection

Call via constructor

use G3n1us\DataTidy;

$datatidy = new Datatidy("gproxy://1R4ZW6fw7EggY6AsmBtVGWdjny-UYDgv3au6_VarHBMk");
$datatidy->get();
// or
$datatidy->response();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2016-10-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固