将json 填入表格_如何将Google表格用作JSON端点

将json 填入表格

UPDATE: 5/13/2020 - New Share Dialog Box steps available below.

更新:5/13/2020-下面提供了`` 新共享''对话框步骤。

Thanks Erica H!
谢谢埃里卡H!

Are you building a prototype dynamic web application and need to collaborate with non-developers?

您是否正在构建动态Web应用程序原型并需要与非开发人员合作?

I have been to a hackathon before and experienced participating with the knowledge on how to develop an application but lacked the skill or time to implement a full-stack web application in the 3-day sprint. That time may skill was way too low to even help out and was sidelined to watch tutorials and study HTML and CSS.

我之前参加过一次黑客马拉松,并有丰富的经验来参与有关如何开发应用程序的知识,但是缺乏在3天的冲刺中实现全栈Web应用程序的技能或时间。 那个时候的技能太低了,甚至无法帮上忙,并被旁听了教程和学习HTML和CSS。

The result? I have learned a lot but I wished I could've contributed more.

结果? 我学到了很多东西,但我希望自己能做得更多。

In one of the hackathons I have participated in recently, I encountered a similar problem. This time around I was not the newbie. I had non-engineers who wanted to help in building our prototype web application. Luckily, we stumbled upon a Google Spreadsheets as a way for our non-engineers to mock up our database and have the back-end developers connect to Google Sheets JSON Endpoint and parse it.

在我最近参加的一次黑客马拉松中,我遇到了类似的问题。 这次我不是新手。 我有一些非工程师想要帮助构建我们的原型Web应用程序。 幸运的是,我们偶然发现了Google Spreadsheets,这是一种让非工程师模拟我们的数据库并使后端开发人员连接到Google Sheets JSON Endpoint并进行解析的方法。

With this guide, you'll be able to:

有了本指南,您将能够:

  1. Create a spreadsheet in Google Spreadsheets.

    在Google Spreadsheets中创建电子表格。
  2. Publish the spreadsheet to the web.

    将电子表格发布到网络上。
  3. Generate a JSON endpoint.

    生成JSON端点。
  4. Open the spreadsheet for public collaboration.

    打开电子表格以进行公共协作。
  5. Pass the JSON endpoint to your back-end developer.

    将JSON端点传递给您的后端开发人员。

After this tutorial, you'll be able to join teams and say, "I can help with the back-end!".

学习完本教程后,您将可以加入团队并说:“我可以为后端提供帮助!”。

第1节:创建Google表格 (Section 1: Creating a Google Sheet)

Step 1:

第1步:

Go to Google Sheets

转到Google表格

Step 2:

第2步:

Create a new spreadsheet

创建一个新的电子表格

第2节:将您的Google表格发布到网络上 (Section 2: Publishing your Google Sheets to the web)

Note: New Share Dialog Box update as of 5/13/2020, located after Step 2.

注意:“新共享”对话框将于2020年5月13日更新,位于步骤2之后。

Step 1:

第1步:

Click File > Publish to the web…

点击文件 > 发布到网络...

Step 2:

第2步:

Click Publish, then OK

点击发布 ,然后点击确定

Step 3:

第三步:

No need to do anything here

不用在这里做任何事

更新:5/13/2020-新建共享对话框 (UPDATE: 5/13/2020 - New Share Dialog Box)

Step 1:Click Share

步骤1:按一下[共用]

Step 2:

第2步:

Click "Change to anyone with the link"

点击“使用链接更改为任何人”

Step 3:

第三步:

Click "Done"

点击“完成”

第4节:将Google表格用作JSON端点 (Section 4: Using your Google Sheets as JSON endpoint)

Step 1:

第1步:

Copy the template URL and paste in the address bar:

复制模板URL并粘贴在地址栏中:

https://spreadsheets.google.com/feeds/cells/YOURGOOGLESHEETCODE/SHEETPAGENUMBER/public/full?alt=json

https://spreadsheets.google.com/feeds/cells/YOURGOOGLESHEETCODE/SHEETPAGENUMBER/public/full?alt=json

Step 2:

第2步:

Go to your opened Google Sheets and check the address bar

转到打开的Google表格,然后检查地址栏

Step 3:

第三步:

Go to the template URL and replace

转到模板URL并替换

  • YOURGOOGLESHEETCODE with 1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs

    YOURGOOGLESHEETCODE1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs

  • SHEETPAGENUMBER to 1

    SHEETPAGENUMBER1

Step 4:

第4步:

Retrieve JSON URL

检索JSON URL

https://spreadsheets.google.com/feeds/cells/1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs/1/public/full?alt=json

https://spreadsheets.google.com/feeds/cells/1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs/1/public/full?alt=json

第5节:公开您的Google表格(用于协作和数据输入) (Section 5: Making your Google Sheets public (for collaboration and data entry))

第1步: (Step 1:)

On the top right, click Share

点击右上角的共享

Step 2:

第2步:

Add a name, click Save

添加名称,单击保存

Step 3:

第三步:

Click Advanced

点击高级

Step 4:

第4步:

Click Change…

点击更改...

Step 5:

步骤5:

Click On — Public on the web, then Save

单击“ 打开” —“在网络上公开” ,然后单击“ 保存”。

常见陷阱: (Common Gotchas:)

If you receive the response below, please check your URL and make sure you use the Google Sheets code in the address bar.

如果您收到以下答复,请检查您的URL并确保使用地址栏中的Google表格代码。

If you receive the response below, please go back to Section 2: Publishing your Google Sheets to the web.

如果您收到以下答复,请返回至第2节:将Google表格发布到网络上。

Clark Jason Ngo - Graduate Teaching Assistant - Technology Institute - City University of Seattle |…Join LinkedIn * Passionate to nurture new software developers. Technical Skills: Git, MVC, JavaScript, NodeJS, ReactJS…www.linkedin.com

Clark Jason Ngo-西雅图城市大学技术学院研究生教学助理|… 加入LinkedIn *热情地培养新的软件开发人员。 技术技能:Git,MVC,JavaScript,NodeJS,ReactJS… www.linkedin.com

翻译自: https://www.freecodecamp.org/news/cjn-google-sheets-as-json-endpoint/

将json 填入表格

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/391541.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

leetcode 173. 二叉搜索树迭代器

实现一个二叉搜索树迭代器类BSTIterator ,表示一个按中序遍历二叉搜索树(BST)的迭代器: BSTIterator(TreeNode root) 初始化 BSTIterator 类的一个对象。BST 的根节点 root 会作为构造函数的一部分给出。指针应初始化为一个不存在…

jyputer notebook 、jypyter、IPython basics

1 、修改jupyter默认工作目录:打开cmd,在命令行下指定想要进的工作目录,即键入“cd d/ G:\0工作面试\学习记录”标红部分是想要进入的工作目录。 2、Tab补全 a、在命令行输入表达式时,按下Tab键即可为任意变量(对象、…

cookie和session(1)

cookie和session 1.cookie产生 识别用户 HTTP是无状态协议,这就回出现这种现象:当你登录一个页面,然后转到登录网站的另一个页面,服务器无法认识到。或者说两次的访问,服务器不能认识到是同一个客户端的访问&#xff0…

熊猫数据集_为数据科学拆箱熊猫

熊猫数据集If you are already familiar with NumPy, Pandas is just a package build on top of it. Pandas provide more flexibility than NumPy to work with data. While in NumPy we can only store values of single data type(dtype) Pandas has the flexibility to st…

2018年,你想从InfoQ获取什么内容?丨Q言Q语

- Q 言 Q 语 第 三 期 - Q言Q语是 InfoQ 推出的最新板块, 旨在给所有 InfoQer 一个展示观点的平台。 每期一个主题, 不扣帽子,不论对错,不看输赢, 只愿跟有趣的灵魂相遇。 本期话题: 2018年,你想…

特征阻抗输入阻抗输出阻抗_软件阻抗说明

特征阻抗输入阻抗输出阻抗by Milan Mimica米兰米米卡(Milan Mimica) 软件阻抗说明 (Software impedance explained) 数据处理组件之间的阻抗不匹配 (The impedance mismatch between data processing components) It all starts with the simplest signal-processing diagram …

数学建模3

数学建模3 转载于:https://www.cnblogs.com/Forever77/p/11423169.html

leetcode 190. 颠倒二进制位(位运算)

颠倒给定的 32 位无符号整数的二进制位。 提示: 请注意,在某些语言(如 Java)中,没有无符号整数类型。在这种情况下,输入和输出都将被指定为有符号整数类型,并且不应影响您的实现,因…

JAVA基础——时间Date类型转换

在java中有六大时间类,分别是: 1、java.util包下的Date类, 2、java.sql包下的Date类, 3、java.text包下的DateFormat类,(抽象类) 4、java.text包下的SimpleDateFormat类, 5、java.ut…

LeetCode第五天

leetcode 第五天 2018年1月6日 22.(566) Reshape the Matrix JAVA class Solution {public int[][] matrixReshape(int[][] nums, int r, int c) {int[][] newNums new int[r][c];int size nums.length*nums[0].length;if(r*c ! size)return nums;for(int i0;i<size;i){ne…

matplotlib可视化_使用Matplotlib改善可视化设计的5个魔术技巧

matplotlib可视化It is impossible to know everything, no matter how much our experience has increased over the years, there are many things that remain hidden from us. This is normal, and maybe an exciting motivation to search and learn more. And I am sure …

adb 多点触碰_无法触及的神话

adb 多点触碰On Twitter, in Slack, on Discord, in IRC, or wherever you hang out with other developers on the internet, you may have heard some formulation of the following statements:在Twitter上&#xff0c;在Slack中&#xff0c;在Discord中&#xff0c;在IRC…

robot:循环遍历数据库查询结果是否满足要求

使用list类型变量{}接收查询结果&#xff0c;再for循环遍历每行数据&#xff0c;取出需要比较的数值 转载于:https://www.cnblogs.com/gcgc/p/11424114.html

leetcode 74. 搜索二维矩阵(二分)

编写一个高效的算法来判断 m x n 矩阵中&#xff0c;是否存在一个目标值。该矩阵具有如下特性&#xff1a; 每行中的整数从左到右按升序排列。 每行的第一个整数大于前一行的最后一个整数。 示例 1&#xff1a; 输入&#xff1a;matrix [[1,3,5,7],[10,11,16,20],[23,30,34…

rm命令

命令 ‘rm’ &#xff08;remove&#xff09;&#xff1a;删除一个目录中的一个或多个文件或目录&#xff0c;也可以将某个目录及其下属的所有文件及其子目录均删除掉 语法&#xff1a;rm&#xff08;选项&#xff09;&#xff08;参数&#xff09; 默认会提示‘是否’删除&am…

javascript消除字符串两边空格的两种方式,面向对象和函数式编程。python oop在调用时候的优点...

主要是javascript中消除字符串空格&#xff0c;比较两种方式的不同 //面向对象&#xff0c;消除字符串两边空格 String.prototype.trim function() { return this.replace(/(^\s*)|(\s*$)/g, ""); };//去左右空格的函数; function trim(s){return s.replace(/(^\s*)…

如何使用Retrofit,OkHttp,Gson,Glide和Coroutines处理RESTful Web服务

Kriptofolio应用程序系列-第5部分 (Kriptofolio app series — Part 5) These days almost every Android app connects to internet to get/send data. You should definitely learn how to handle RESTful Web Services, as their correct implementation is the core knowle…

leetcode 90. 子集 II(回溯算法)

给你一个整数数组 nums &#xff0c;其中可能包含重复元素&#xff0c;请你返回该数组所有可能的子集&#xff08;幂集&#xff09;。 解集 不能 包含重复的子集。返回的解集中&#xff0c;子集可以按 任意顺序 排列。 示例 1&#xff1a; 输入&#xff1a;nums [1,2,2] 输…

robot:linux下安装robot环境

https://www.cnblogs.com/lgqboke/p/8252488.html 转载于:https://www.cnblogs.com/gcgc/p/11425588.html

感知器 机器学习_机器学习感知器实现

感知器 机器学习In this post, we are going to have a look at a program written in Python3 using numpy. We will discuss the basics of what a perceptron is, what is the delta rule and how to use it to converge the learning of the perceptron.在本文中&#xff0…