javascript
将json 填入表格_如何将Google表格用作JSON端点
將json 填入表格
UPDATE: 5/13/2020 - New Share Dialog Box steps available below.
更新:5/13/2020-下面提供了`` 新共享''對(duì)話框步驟。
Thanks Erica H!謝謝埃里卡H!Are you building a prototype dynamic web application and need to collaborate with non-developers?
您是否正在構(gòu)建動(dòng)態(tài)Web應(yīng)用程序原型并需要與非開(kāi)發(fā)人員合作?
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.
我之前參加過(guò)一次黑客馬拉松,并有豐富的經(jīng)驗(yàn)來(lái)參與有關(guān)如何開(kāi)發(fā)應(yīng)用程序的知識(shí),但是缺乏在3天的沖刺中實(shí)現(xiàn)全棧Web應(yīng)用程序的技能或時(shí)間。 那個(gè)時(shí)候的技能太低了,甚至無(wú)法幫上忙,并被旁聽(tīng)了教程和學(xué)習(xí)HTML和CSS。
The result? I have learned a lot but I wished I could've contributed more.
結(jié)果? 我學(xué)到了很多東西,但我希望自己能做得更多。
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.
在我最近參加的一次黑客馬拉松中,我遇到了類(lèi)似的問(wèn)題。 這次我不是新手。 我有一些非工程師想要幫助構(gòu)建我們的原型Web應(yīng)用程序。 幸運(yùn)的是,我們偶然發(fā)現(xiàn)了Google Spreadsheets,這是一種讓非工程師模擬我們的數(shù)據(jù)庫(kù)并使后端開(kāi)發(fā)人員連接到Google Sheets JSON Endpoint并進(jìn)行解析的方法。
With this guide, you'll be able to:
有了本指南,您將能夠:
After this tutorial, you'll be able to join teams and say, "I can help with the back-end!".
學(xué)習(xí)完本教程后,您將可以加入團(tuán)隊(duì)并說(shuō):“我可以為后端提供幫助!”。
第1節(jié):創(chuàng)建Google表格 (Section 1: Creating a Google Sheet)
Step 1:
第1步:
Go to Google Sheets
轉(zhuǎn)到Google表格
Step 2:
第2步:
Create a new spreadsheet
創(chuàng)建一個(gè)新的電子表格
第2節(jié):將您的Google表格發(fā)布到網(wǎng)絡(luò)上 (Section 2: Publishing your Google Sheets to the web)
Note: New Share Dialog Box update as of 5/13/2020, located after Step 2.
注意:“新共享”對(duì)話框?qū)⒂?020年5月13日更新,位于步驟2之后。
Step 1:
第1步:
Click File > Publish to the web…
點(diǎn)擊文件 > 發(fā)布到網(wǎng)絡(luò)...
Step 2:
第2步:
Click Publish, then OK
點(diǎn)擊發(fā)布 ,然后點(diǎn)擊確定
Step 3:
第三步:
No need to do anything here
不用在這里做任何事
更新:5/13/2020-新建共享對(duì)話框 (UPDATE: 5/13/2020 - New Share Dialog Box)
Step 1:Click Share
步驟1:按一下[共用]
Step 2:
第2步:
Click "Change to anyone with the link"
點(diǎn)擊“使用鏈接更改為任何人”
Step 3:
第三步:
Click "Done"
點(diǎn)擊“完成”
第4節(jié):將Google表格用作JSON端點(diǎn) (Section 4: Using your Google Sheets as JSON endpoint)
Step 1:
第1步:
Copy the template URL and paste in the address bar:
復(fù)制模板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
轉(zhuǎn)到打開(kāi)的Google表格,然后檢查地址欄
Step 3:
第三步:
Go to the template URL and replace
轉(zhuǎn)到模板URL并替換
YOURGOOGLESHEETCODE with 1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs
YOURGOOGLESHEETCODE與1ifbWzueslEP5-_ysP6gg7o_NaHQmqF8LlXBfStCwFMs
SHEETPAGENUMBER to 1
SHEETPAGENUMBER至1
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節(jié):公開(kāi)您的Google表格(用于協(xié)作和數(shù)據(jù)輸入) (Section 5: Making your Google Sheets public (for collaboration and data entry))
第1步: (Step 1:)
On the top right, click Share
點(diǎn)擊右上角的共享
Step 2:
第2步:
Add a name, click Save
添加名稱(chēng),單擊保存
Step 3:
第三步:
Click Advanced
點(diǎn)擊高級(jí)
Step 4:
第4步:
Click Change…
點(diǎn)擊更改...
Step 5:
步驟5:
Click On?—?Public on the web, then Save
單擊“ 打開(kāi)” —“在網(wǎng)絡(luò)上公開(kāi)” ,然后單擊“ 保存”。
常見(jiàn)陷阱: (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.
如果您收到以下答復(fù),請(qǐng)檢查您的URL并確保使用地址欄中的Google表格代碼。
If you receive the response below, please go back to Section 2: Publishing your Google Sheets to the web.
如果您收到以下答復(fù),請(qǐng)返回至第2節(jié):將Google表格發(fā)布到網(wǎng)絡(luò)上。
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-西雅圖城市大學(xué)技術(shù)學(xué)院研究生教學(xué)助理|… 加入LinkedIn *熱情地培養(yǎng)新的軟件開(kāi)發(fā)人員。 技術(shù)技能:Git,MVC,JavaScript,NodeJS,ReactJS… www.linkedin.com
翻譯自: https://www.freecodecamp.org/news/cjn-google-sheets-as-json-endpoint/
將json 填入表格
總結(jié)
以上是生活随笔為你收集整理的将json 填入表格_如何将Google表格用作JSON端点的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 梦到年轻女孩子有什么预兆
- 下一篇: 梦到菩萨预示着什么