定制 wunderdata/google-spreadsheet-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

wunderdata/google-spreadsheet-api

最新稳定版本:0.1.0

Composer 安装命令:

composer require wunderdata/google-spreadsheet-api

包简介

Google Spreadsheets API 3.0

README 文档

README

Implementation of the Google Spreadsheet API 3.0

Build Status

Status

This is still a WIP. Keep in mind that everything can change until 1.0.0 is reached. Currently only reading data is implemented.

Authorization

The lib is only tested with the OAuth 2.0 authorization method.

It is your responsibility to make sure the access token is valid. The client does not refresh the token automatically.

Basic Usage

<?php

// Instantiate the Google client.
// You need a valid access key and the Buzz browser for HTTP requests.
$client = new \Wunderdata\Google\Client($accessKey, $buzz);

// Get a list of all spreadsheets
$spreadsheets = $client->loadSpreadsheets();

// Load all worksheets from the first spreadsheet in the list
$worksheets = $client->loadWorksheets($spreadsheets[0]);

// Load the cell feed for the first worksheet in the list
$cellFeed = $client->loadCellFeed($worksheets[0]);

// Get content from cell B3
$b3 = $cellFeed->findCell('B3');

Check out the official documentation regarding authentication.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-10