Skip to content

Commit dd9ff42

Browse files
authored
Update README.md
1 parent 0e1e816 commit dd9ff42

File tree

1 file changed

+79
-63
lines changed

1 file changed

+79
-63
lines changed

README.md

Lines changed: 79 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -123,78 +123,94 @@ http://example.com/api?id=SPREADSHEET_ID&sheet=SHEET_NUMBER
123123
124124
[Example spreadsheet](https://docs.google.com/spreadsheets/d/1-DGS8kSiBrPOxvyM1ISCxtdqWt-I7u1Vmcp-XksQ1M4/edit#gid=0)
125125
126-
There are three sections to the returned data.
126+
There are four sections to the returned data.
127127
128128
- Columns (containing the names of each column)
129129
- Dictionary (used left most column as primary key)
130-
- Rows (containing each row of data as an object.
130+
- Rows (containing each row of data as an object)
131+
- Meta (contains short brief of target data)
131132
132133
```
133134
{
135+
"columns": {
136+
"key": [
137+
1,
138+
2,
139+
3,
140+
4
141+
],
142+
"column1": [
143+
"1b",
144+
"2b",
145+
"3b",
146+
"4b"
147+
],
148+
"column2": [
149+
11,
150+
22,
151+
33,
152+
44
153+
]
154+
},
155+
"rows": [
156+
{
157+
"key": 1,
158+
"column1": "1b",
159+
"column2": 11
160+
},
161+
{
162+
"key": 2,
163+
"column1": "2b",
164+
"column2": 22
165+
},
166+
{
167+
"key": 3,
168+
"column1": "3b",
169+
"column2": 33
170+
},
171+
{
172+
"key": 4,
173+
"column1": "4b",
174+
"column2": 44
175+
}
176+
],
177+
"dict": {
178+
"1": {
179+
"key": 1,
180+
"column1": "1b",
181+
"column2": 11
182+
},
183+
"2": {
184+
"key": 2,
185+
"column1": "2b",
186+
"column2": 22
187+
},
188+
"3": {
189+
"key": 3,
190+
"column1": "3b",
191+
"column2": 33
192+
},
193+
"4": {
194+
"key": 4,
195+
"column1": "4b",
196+
"column2": 44
197+
}
198+
},
199+
"meta": {
134200
"columns": {
135-
"column1": [
136-
"1b",
137-
"2b",
138-
"3b",
139-
"4b"
140-
],
141-
"column2": [
142-
11,
143-
22,
144-
33,
145-
44
146-
],
147-
"key": [
148-
1,
149-
2,
150-
3,
151-
4
152-
]
201+
"md5": "EAC2F0EF3EA62CEEDD3B65B627B06CBA",
202+
"bytes": 73
203+
},
204+
"rows": {
205+
"md5": "7767981744A818A7574B4A0B8EBE1C25",
206+
"bytes": 153
153207
},
154208
"dict": {
155-
"1": {
156-
"column1": "1b",
157-
"column2": 11,
158-
"key": 1
159-
},
160-
"2": {
161-
"column1": "2b",
162-
"column2": 22,
163-
"key": 2
164-
},
165-
"3": {
166-
"column1": "3b",
167-
"column2": 33,
168-
"key": 3
169-
},
170-
"4": {
171-
"column1": "4b",
172-
"column2": 44,
173-
"key": 4
174-
}
209+
"md5": "76C73EAEAFC8BA2ACD890C50E20C1613",
210+
"bytes": 169
175211
},
176-
"rows": [
177-
{
178-
"column1": "1b",
179-
"column2": 11,
180-
"key": 1
181-
},
182-
{
183-
"column1": "2b",
184-
"column2": 22,
185-
"key": 2
186-
},
187-
{
188-
"column1": "3b",
189-
"column2": 33,
190-
"key": 3
191-
},
192-
{
193-
"column1": "4b",
194-
"column2": 44,
195-
"key": 4
196-
}
197-
]
212+
"time": "2021-02-07T20:00:04.552Z"
213+
}
198214
}
199215

200216
```
@@ -204,5 +220,5 @@ There are three sections to the returned data.
204220
205221
- :white_check_mark: docker image
206222
207-
- :white_large_square: md5 checksum
223+
- :white_check_mark: md5 checksum
208224

0 commit comments

Comments
 (0)