ndb-ruby 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.codeclimate.yml +11 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +1055 -0
- data/.travis.yml +4 -0
- data/CODE_OF_CONDUCT.md +13 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +80 -0
- data/Rakefile +4 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/lib/ndb-ruby.rb +41 -0
- data/lib/ndb/food_report.rb +13 -0
- data/lib/ndb/list.rb +21 -0
- data/lib/ndb/nutrient_report.rb +21 -0
- data/lib/ndb/search.rb +24 -0
- data/lib/ndb/version.rb +3 -0
- data/ndb-ruby.gemspec +32 -0
- data/spec/fixtures/vcr_cassettes/food_report_ndbno.yml +766 -0
- data/spec/fixtures/vcr_cassettes/food_report_type.yml +1278 -0
- data/spec/fixtures/vcr_cassettes/list_max.yml +574 -0
- data/spec/fixtures/vcr_cassettes/list_offset.yml +324 -0
- data/spec/fixtures/vcr_cassettes/list_sort.yml +324 -0
- data/spec/fixtures/vcr_cassettes/list_type.yml +324 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_food_group.yml +829 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_max.yml +1576 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_ndbno.yml +89 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_nutrients.yml +824 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_offset.yml +824 -0
- data/spec/fixtures/vcr_cassettes/nutrient_report_subset.yml +826 -0
- data/spec/fixtures/vcr_cassettes/search_all_foods.yml +375 -0
- data/spec/fixtures/vcr_cassettes/search_food_group.yml +375 -0
- data/spec/fixtures/vcr_cassettes/search_max_rows.yml +675 -0
- data/spec/fixtures/vcr_cassettes/search_query.yml +375 -0
- data/spec/fixtures/vcr_cassettes/search_sort_name.yml +213 -0
- data/spec/ndb/food_report_spec.rb +19 -0
- data/spec/ndb/list_spec.rb +33 -0
- data/spec/ndb/nutrient_report_spec.rb +49 -0
- data/spec/ndb/search_spec.rb +59 -0
- data/spec/ndb_spec.rb +13 -0
- data/spec/spec_helper.rb +21 -0
- metadata +211 -0
@@ -0,0 +1,826 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.nal.usda.gov/ndb/nutrients?api_key=DEMO_KEY&format=JSON&fq=&max=50&nutrients=205&offset=0&sort=f&subset=1
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Faraday v0.9.1
|
12
|
+
Accept-Encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
Accept:
|
15
|
+
- "*/*"
|
16
|
+
response:
|
17
|
+
status:
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
Accept-Ranges:
|
22
|
+
- bytes
|
23
|
+
Access-Control-Allow-Credentials:
|
24
|
+
- 'true'
|
25
|
+
Access-Control-Allow-Headers:
|
26
|
+
- DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type
|
27
|
+
Access-Control-Allow-Methods:
|
28
|
+
- GET, POST, OPTIONS
|
29
|
+
Access-Control-Allow-Origin:
|
30
|
+
- "*"
|
31
|
+
Age:
|
32
|
+
- '0'
|
33
|
+
Content-Type:
|
34
|
+
- application/json;charset=UTF-8
|
35
|
+
Date:
|
36
|
+
- Sun, 27 Sep 2015 01:21:24 GMT
|
37
|
+
Location:
|
38
|
+
- ''
|
39
|
+
Server:
|
40
|
+
- nginx
|
41
|
+
Set-Cookie:
|
42
|
+
- BIGipServerndb-pool=282659594.20480.0000; path=/
|
43
|
+
Vary:
|
44
|
+
- Accept-Encoding
|
45
|
+
Via:
|
46
|
+
- 1.1 varnish-v4
|
47
|
+
X-Cache:
|
48
|
+
- MISS
|
49
|
+
X-Ratelimit-Limit:
|
50
|
+
- '1000'
|
51
|
+
X-Ratelimit-Remaining:
|
52
|
+
- '963'
|
53
|
+
X-Varnish:
|
54
|
+
- '41918258'
|
55
|
+
Transfer-Encoding:
|
56
|
+
- chunked
|
57
|
+
Connection:
|
58
|
+
- keep-alive
|
59
|
+
body:
|
60
|
+
encoding: ASCII-8BIT
|
61
|
+
string: |-
|
62
|
+
{
|
63
|
+
"report": {
|
64
|
+
"sr": "27",
|
65
|
+
"groups": "All groups",
|
66
|
+
"subset": "Abridged List",
|
67
|
+
"end": 50,
|
68
|
+
"start": 0,
|
69
|
+
"total": 995,
|
70
|
+
"foods": [
|
71
|
+
{
|
72
|
+
"ndbno": "14007",
|
73
|
+
"name": "Alcoholic beverage, beer, light, BUD LIGHT",
|
74
|
+
"weight": 29.5,
|
75
|
+
"measure": "1.0 fl oz",
|
76
|
+
"nutrients": [
|
77
|
+
{
|
78
|
+
"nutrient_id": "205",
|
79
|
+
"nutrient": "Carbohydrate, by difference",
|
80
|
+
"unit": "g",
|
81
|
+
"value": "0.38",
|
82
|
+
"gm": 1.3
|
83
|
+
}
|
84
|
+
]
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"ndbno": "14009",
|
88
|
+
"name": "Alcoholic beverage, daiquiri, canned",
|
89
|
+
"weight": 30.5,
|
90
|
+
"measure": "1.0 fl oz",
|
91
|
+
"nutrients": [
|
92
|
+
{
|
93
|
+
"nutrient_id": "205",
|
94
|
+
"nutrient": "Carbohydrate, by difference",
|
95
|
+
"unit": "g",
|
96
|
+
"value": "4.79",
|
97
|
+
"gm": 15.7
|
98
|
+
}
|
99
|
+
]
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"ndbno": "14534",
|
103
|
+
"name": "Alcoholic beverage, liqueur, coffee, 63 proof",
|
104
|
+
"weight": 34.8,
|
105
|
+
"measure": "1.0 fl oz",
|
106
|
+
"nutrients": [
|
107
|
+
{
|
108
|
+
"nutrient_id": "205",
|
109
|
+
"nutrient": "Carbohydrate, by difference",
|
110
|
+
"unit": "g",
|
111
|
+
"value": "11.21",
|
112
|
+
"gm": 32.2
|
113
|
+
}
|
114
|
+
]
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"ndbno": "14015",
|
118
|
+
"name": "Alcoholic beverage, pina colada, canned",
|
119
|
+
"weight": 32.6,
|
120
|
+
"measure": "1.0 fl oz",
|
121
|
+
"nutrients": [
|
122
|
+
{
|
123
|
+
"nutrient_id": "205",
|
124
|
+
"nutrient": "Carbohydrate, by difference",
|
125
|
+
"unit": "g",
|
126
|
+
"value": "9.00",
|
127
|
+
"gm": 27.6
|
128
|
+
}
|
129
|
+
]
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"ndbno": "14019",
|
133
|
+
"name": "Alcoholic beverage, tequila sunrise, canned",
|
134
|
+
"weight": 31.1,
|
135
|
+
"measure": "1.0 fl oz",
|
136
|
+
"nutrients": [
|
137
|
+
{
|
138
|
+
"nutrient_id": "205",
|
139
|
+
"nutrient": "Carbohydrate, by difference",
|
140
|
+
"unit": "g",
|
141
|
+
"value": "3.51",
|
142
|
+
"gm": 11.3
|
143
|
+
}
|
144
|
+
]
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"ndbno": "14027",
|
148
|
+
"name": "Alcoholic beverage, whiskey sour, canned",
|
149
|
+
"weight": 30.8,
|
150
|
+
"measure": "1.0 fl oz",
|
151
|
+
"nutrients": [
|
152
|
+
{
|
153
|
+
"nutrient_id": "205",
|
154
|
+
"nutrient": "Carbohydrate, by difference",
|
155
|
+
"unit": "g",
|
156
|
+
"value": "4.13",
|
157
|
+
"gm": 13.4
|
158
|
+
}
|
159
|
+
]
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"ndbno": "14098",
|
163
|
+
"name": "Alcoholic Beverage, wine, table, red, Cabernet Franc",
|
164
|
+
"weight": 29.0,
|
165
|
+
"measure": "1.0 fluid ounce",
|
166
|
+
"nutrients": [
|
167
|
+
{
|
168
|
+
"nutrient_id": "205",
|
169
|
+
"nutrient": "Carbohydrate, by difference",
|
170
|
+
"unit": "g",
|
171
|
+
"value": "0.71",
|
172
|
+
"gm": 2.45
|
173
|
+
}
|
174
|
+
]
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"ndbno": "14097",
|
178
|
+
"name": "Alcoholic Beverage, wine, table, red, Cabernet Sauvignon",
|
179
|
+
"weight": 29.0,
|
180
|
+
"measure": "1.0 fluid ounce",
|
181
|
+
"nutrients": [
|
182
|
+
{
|
183
|
+
"nutrient_id": "205",
|
184
|
+
"nutrient": "Carbohydrate, by difference",
|
185
|
+
"unit": "g",
|
186
|
+
"value": "0.75",
|
187
|
+
"gm": 2.6
|
188
|
+
}
|
189
|
+
]
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"ndbno": "14105",
|
193
|
+
"name": "Alcoholic Beverage, wine, table, red, Claret",
|
194
|
+
"weight": 29.4,
|
195
|
+
"measure": "1.0 fl oz",
|
196
|
+
"nutrients": [
|
197
|
+
{
|
198
|
+
"nutrient_id": "205",
|
199
|
+
"nutrient": "Carbohydrate, by difference",
|
200
|
+
"unit": "g",
|
201
|
+
"value": "0.88",
|
202
|
+
"gm": 3.01
|
203
|
+
}
|
204
|
+
]
|
205
|
+
},
|
206
|
+
{
|
207
|
+
"ndbno": "14107",
|
208
|
+
"name": "Alcoholic Beverage, wine, table, red, Lemberger",
|
209
|
+
"weight": 29.4,
|
210
|
+
"measure": "1.0 fl oz",
|
211
|
+
"nutrients": [
|
212
|
+
{
|
213
|
+
"nutrient_id": "205",
|
214
|
+
"nutrient": "Carbohydrate, by difference",
|
215
|
+
"unit": "g",
|
216
|
+
"value": "0.72",
|
217
|
+
"gm": 2.46
|
218
|
+
}
|
219
|
+
]
|
220
|
+
},
|
221
|
+
{
|
222
|
+
"ndbno": "14103",
|
223
|
+
"name": "Alcoholic Beverage, wine, table, red, Petite Sirah",
|
224
|
+
"weight": 29.5,
|
225
|
+
"measure": "1.0 fl oz",
|
226
|
+
"nutrients": [
|
227
|
+
{
|
228
|
+
"nutrient_id": "205",
|
229
|
+
"nutrient": "Carbohydrate, by difference",
|
230
|
+
"unit": "g",
|
231
|
+
"value": "0.79",
|
232
|
+
"gm": 2.68
|
233
|
+
}
|
234
|
+
]
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"ndbno": "14106",
|
238
|
+
"name": "Alcoholic beverage, wine, table, white",
|
239
|
+
"weight": 29.4,
|
240
|
+
"measure": "1.0 fl oz",
|
241
|
+
"nutrients": [
|
242
|
+
{
|
243
|
+
"nutrient_id": "205",
|
244
|
+
"nutrient": "Carbohydrate, by difference",
|
245
|
+
"unit": "g",
|
246
|
+
"value": "0.76",
|
247
|
+
"gm": 2.6
|
248
|
+
}
|
249
|
+
]
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"ndbno": "14160",
|
253
|
+
"name": "Alcoholic beverage, wine, table, white, Chardonnay",
|
254
|
+
"weight": 29.3,
|
255
|
+
"measure": "1.0 fl oz",
|
256
|
+
"nutrients": [
|
257
|
+
{
|
258
|
+
"nutrient_id": "205",
|
259
|
+
"nutrient": "Carbohydrate, by difference",
|
260
|
+
"unit": "g",
|
261
|
+
"value": "0.63",
|
262
|
+
"gm": 2.16
|
263
|
+
}
|
264
|
+
]
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"ndbno": "14116",
|
268
|
+
"name": "Alcoholic beverage, wine, table, white, Chenin Blanc",
|
269
|
+
"weight": 29.5,
|
270
|
+
"measure": "1.0 fl oz",
|
271
|
+
"nutrients": [
|
272
|
+
{
|
273
|
+
"nutrient_id": "205",
|
274
|
+
"nutrient": "Carbohydrate, by difference",
|
275
|
+
"unit": "g",
|
276
|
+
"value": "0.98",
|
277
|
+
"gm": 3.31
|
278
|
+
}
|
279
|
+
]
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"ndbno": "14140",
|
283
|
+
"name": "Alcoholic beverage, wine, table, white, Muscat",
|
284
|
+
"weight": 30.0,
|
285
|
+
"measure": "1.0 fl oz",
|
286
|
+
"nutrients": [
|
287
|
+
{
|
288
|
+
"nutrient_id": "205",
|
289
|
+
"nutrient": "Carbohydrate, by difference",
|
290
|
+
"unit": "g",
|
291
|
+
"value": "1.57",
|
292
|
+
"gm": 5.23
|
293
|
+
}
|
294
|
+
]
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"ndbno": "14138",
|
298
|
+
"name": "Alcoholic beverage, wine, table, white, Pinot Blanc",
|
299
|
+
"weight": 29.3,
|
300
|
+
"measure": "1.0 fl oz",
|
301
|
+
"nutrients": [
|
302
|
+
{
|
303
|
+
"nutrient_id": "205",
|
304
|
+
"nutrient": "Carbohydrate, by difference",
|
305
|
+
"unit": "g",
|
306
|
+
"value": "0.57",
|
307
|
+
"gm": 1.94
|
308
|
+
}
|
309
|
+
]
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"ndbno": "14132",
|
313
|
+
"name": "Alcoholic beverage, wine, table, white, Riesling",
|
314
|
+
"weight": 29.6,
|
315
|
+
"measure": "1.0 fl oz",
|
316
|
+
"nutrients": [
|
317
|
+
{
|
318
|
+
"nutrient_id": "205",
|
319
|
+
"nutrient": "Carbohydrate, by difference",
|
320
|
+
"unit": "g",
|
321
|
+
"value": "1.11",
|
322
|
+
"gm": 3.74
|
323
|
+
}
|
324
|
+
]
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"ndbno": "14134",
|
328
|
+
"name": "Alcoholic beverage, wine, table, white, Sauvignon Blanc",
|
329
|
+
"weight": 29.3,
|
330
|
+
"measure": "1.0 fl oz",
|
331
|
+
"nutrients": [
|
332
|
+
{
|
333
|
+
"nutrient_id": "205",
|
334
|
+
"nutrient": "Carbohydrate, by difference",
|
335
|
+
"unit": "g",
|
336
|
+
"value": "0.60",
|
337
|
+
"gm": 2.05
|
338
|
+
}
|
339
|
+
]
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"ndbno": "14126",
|
343
|
+
"name": "Alcoholic beverage, wine, table, white, Semillon",
|
344
|
+
"weight": 29.5,
|
345
|
+
"measure": "1.0 fl oz",
|
346
|
+
"nutrients": [
|
347
|
+
{
|
348
|
+
"nutrient_id": "205",
|
349
|
+
"nutrient": "Carbohydrate, by difference",
|
350
|
+
"unit": "g",
|
351
|
+
"value": "0.92",
|
352
|
+
"gm": 3.12
|
353
|
+
}
|
354
|
+
]
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"ndbno": "11004",
|
358
|
+
"name": "Amaranth leaves, cooked, boiled, drained, without salt",
|
359
|
+
"weight": 132.0,
|
360
|
+
"measure": "1.0 cup",
|
361
|
+
"nutrients": [
|
362
|
+
{
|
363
|
+
"nutrient_id": "205",
|
364
|
+
"nutrient": "Carbohydrate, by difference",
|
365
|
+
"unit": "g",
|
366
|
+
"value": "5.43",
|
367
|
+
"gm": 4.11
|
368
|
+
}
|
369
|
+
]
|
370
|
+
},
|
371
|
+
{
|
372
|
+
"ndbno": "09014",
|
373
|
+
"name": "Apples, frozen, unsweetened, unheated",
|
374
|
+
"weight": 173.0,
|
375
|
+
"measure": "1.0 cup slices",
|
376
|
+
"nutrients": [
|
377
|
+
{
|
378
|
+
"nutrient_id": "205",
|
379
|
+
"nutrient": "Carbohydrate, by difference",
|
380
|
+
"unit": "g",
|
381
|
+
"value": "21.30",
|
382
|
+
"gm": 12.31
|
383
|
+
}
|
384
|
+
]
|
385
|
+
},
|
386
|
+
{
|
387
|
+
"ndbno": "09004",
|
388
|
+
"name": "Apples, raw, without skin",
|
389
|
+
"weight": 110.0,
|
390
|
+
"measure": "1.0 cup slices",
|
391
|
+
"nutrients": [
|
392
|
+
{
|
393
|
+
"nutrient_id": "205",
|
394
|
+
"nutrient": "Carbohydrate, by difference",
|
395
|
+
"unit": "g",
|
396
|
+
"value": "14.04",
|
397
|
+
"gm": 12.76
|
398
|
+
}
|
399
|
+
]
|
400
|
+
},
|
401
|
+
{
|
402
|
+
"ndbno": "09020",
|
403
|
+
"name": "Applesauce, canned, sweetened, without salt (includes USDA commodity)",
|
404
|
+
"weight": 246.0,
|
405
|
+
"measure": "1.0 cup",
|
406
|
+
"nutrients": [
|
407
|
+
{
|
408
|
+
"nutrient_id": "205",
|
409
|
+
"nutrient": "Carbohydrate, by difference",
|
410
|
+
"unit": "g",
|
411
|
+
"value": "43.03",
|
412
|
+
"gm": 17.49
|
413
|
+
}
|
414
|
+
]
|
415
|
+
},
|
416
|
+
{
|
417
|
+
"ndbno": "09027",
|
418
|
+
"name": "Apricots, canned, heavy syrup pack, with skin, solids and liquids",
|
419
|
+
"weight": 258.0,
|
420
|
+
"measure": "1.0 cup, halves",
|
421
|
+
"nutrients": [
|
422
|
+
{
|
423
|
+
"nutrient_id": "205",
|
424
|
+
"nutrient": "Carbohydrate, by difference",
|
425
|
+
"unit": "g",
|
426
|
+
"value": "55.39",
|
427
|
+
"gm": 21.47
|
428
|
+
}
|
429
|
+
]
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"ndbno": "09357",
|
433
|
+
"name": "Apricots, canned, heavy syrup, drained",
|
434
|
+
"weight": 219.0,
|
435
|
+
"measure": "1.0 cup, halves",
|
436
|
+
"nutrients": [
|
437
|
+
{
|
438
|
+
"nutrient_id": "205",
|
439
|
+
"nutrient": "Carbohydrate, by difference",
|
440
|
+
"unit": "g",
|
441
|
+
"value": "46.67",
|
442
|
+
"gm": 21.31
|
443
|
+
}
|
444
|
+
]
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"ndbno": "09030",
|
448
|
+
"name": "Apricots, dehydrated (low-moisture), sulfured, uncooked",
|
449
|
+
"weight": 119.0,
|
450
|
+
"measure": "1.0 cup",
|
451
|
+
"nutrients": [
|
452
|
+
{
|
453
|
+
"nutrient_id": "205",
|
454
|
+
"nutrient": "Carbohydrate, by difference",
|
455
|
+
"unit": "g",
|
456
|
+
"value": "98.64",
|
457
|
+
"gm": 82.89
|
458
|
+
}
|
459
|
+
]
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"ndbno": "09033",
|
463
|
+
"name": "Apricots, dried, sulfured, stewed, without added sugar",
|
464
|
+
"weight": 250.0,
|
465
|
+
"measure": "1.0 cup, halves",
|
466
|
+
"nutrients": [
|
467
|
+
{
|
468
|
+
"nutrient_id": "205",
|
469
|
+
"nutrient": "Carbohydrate, by difference",
|
470
|
+
"unit": "g",
|
471
|
+
"value": "55.38",
|
472
|
+
"gm": 22.15
|
473
|
+
}
|
474
|
+
]
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"ndbno": "18527",
|
478
|
+
"name": "ARCHWAY Home Style Cookies, Date Filled Oatmeal",
|
479
|
+
"weight": 25.0,
|
480
|
+
"measure": "1.0 serving",
|
481
|
+
"nutrients": [
|
482
|
+
{
|
483
|
+
"nutrient_id": "205",
|
484
|
+
"nutrient": "Carbohydrate, by difference",
|
485
|
+
"unit": "g",
|
486
|
+
"value": "17.04",
|
487
|
+
"gm": 68.16
|
488
|
+
}
|
489
|
+
]
|
490
|
+
},
|
491
|
+
{
|
492
|
+
"ndbno": "18532",
|
493
|
+
"name": "ARCHWAY Home Style Cookies, Iced Molasses",
|
494
|
+
"weight": 28.0,
|
495
|
+
"measure": "1.0 serving",
|
496
|
+
"nutrients": [
|
497
|
+
{
|
498
|
+
"nutrient_id": "205",
|
499
|
+
"nutrient": "Carbohydrate, by difference",
|
500
|
+
"unit": "g",
|
501
|
+
"value": "19.35",
|
502
|
+
"gm": 69.12
|
503
|
+
}
|
504
|
+
]
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"ndbno": "18533",
|
508
|
+
"name": "ARCHWAY Home Style Cookies, Iced Oatmeal",
|
509
|
+
"weight": 28.0,
|
510
|
+
"measure": "1.0 serving",
|
511
|
+
"nutrients": [
|
512
|
+
{
|
513
|
+
"nutrient_id": "205",
|
514
|
+
"nutrient": "Carbohydrate, by difference",
|
515
|
+
"unit": "g",
|
516
|
+
"value": "18.69",
|
517
|
+
"gm": 66.76
|
518
|
+
}
|
519
|
+
]
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"ndbno": "18535",
|
523
|
+
"name": "ARCHWAY Home Style Cookies, Molasses",
|
524
|
+
"weight": 26.0,
|
525
|
+
"measure": "1.0 serving",
|
526
|
+
"nutrients": [
|
527
|
+
{
|
528
|
+
"nutrient_id": "205",
|
529
|
+
"nutrient": "Carbohydrate, by difference",
|
530
|
+
"unit": "g",
|
531
|
+
"value": "18.05",
|
532
|
+
"gm": 69.41
|
533
|
+
}
|
534
|
+
]
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"ndbno": "18544",
|
538
|
+
"name": "ARCHWAY Home Style Cookies, Raspberry Filled",
|
539
|
+
"weight": 25.0,
|
540
|
+
"measure": "1.0 serving",
|
541
|
+
"nutrients": [
|
542
|
+
{
|
543
|
+
"nutrient_id": "205",
|
544
|
+
"nutrient": "Carbohydrate, by difference",
|
545
|
+
"unit": "g",
|
546
|
+
"value": "16.48",
|
547
|
+
"gm": 65.92
|
548
|
+
}
|
549
|
+
]
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"ndbno": "11006",
|
553
|
+
"name": "Arrowhead, cooked, boiled, drained, without salt",
|
554
|
+
"weight": 12.0,
|
555
|
+
"measure": "1.0 medium",
|
556
|
+
"nutrients": [
|
557
|
+
{
|
558
|
+
"nutrient_id": "205",
|
559
|
+
"nutrient": "Carbohydrate, by difference",
|
560
|
+
"unit": "g",
|
561
|
+
"value": "1.94",
|
562
|
+
"gm": 16.14
|
563
|
+
}
|
564
|
+
]
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"ndbno": "18566",
|
568
|
+
"name": "Artificial Blueberry Muffin Mix, dry",
|
569
|
+
"weight": 31.0,
|
570
|
+
"measure": "1.0 muffin",
|
571
|
+
"nutrients": [
|
572
|
+
{
|
573
|
+
"nutrient_id": "205",
|
574
|
+
"nutrient": "Carbohydrate, by difference",
|
575
|
+
"unit": "g",
|
576
|
+
"value": "24.01",
|
577
|
+
"gm": 77.45
|
578
|
+
}
|
579
|
+
]
|
580
|
+
},
|
581
|
+
{
|
582
|
+
"ndbno": "11959",
|
583
|
+
"name": "Arugula, raw",
|
584
|
+
"weight": 2.0,
|
585
|
+
"measure": "1.0 leaf",
|
586
|
+
"nutrients": [
|
587
|
+
{
|
588
|
+
"nutrient_id": "205",
|
589
|
+
"nutrient": "Carbohydrate, by difference",
|
590
|
+
"unit": "g",
|
591
|
+
"value": "0.07",
|
592
|
+
"gm": 3.65
|
593
|
+
}
|
594
|
+
]
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"ndbno": "11015",
|
598
|
+
"name": "Asparagus, canned, drained solids",
|
599
|
+
"weight": 242.0,
|
600
|
+
"measure": "1.0 cup",
|
601
|
+
"nutrients": [
|
602
|
+
{
|
603
|
+
"nutrient_id": "205",
|
604
|
+
"nutrient": "Carbohydrate, by difference",
|
605
|
+
"unit": "g",
|
606
|
+
"value": "5.95",
|
607
|
+
"gm": 2.46
|
608
|
+
}
|
609
|
+
]
|
610
|
+
},
|
611
|
+
{
|
612
|
+
"ndbno": "11013",
|
613
|
+
"name": "Asparagus, canned, regular pack, solids and liquids",
|
614
|
+
"weight": 122.0,
|
615
|
+
"measure": "0.5 cup",
|
616
|
+
"nutrients": [
|
617
|
+
{
|
618
|
+
"nutrient_id": "205",
|
619
|
+
"nutrient": "Carbohydrate, by difference",
|
620
|
+
"unit": "g",
|
621
|
+
"value": "3.03",
|
622
|
+
"gm": 2.48
|
623
|
+
}
|
624
|
+
]
|
625
|
+
},
|
626
|
+
{
|
627
|
+
"ndbno": "11012",
|
628
|
+
"name": "Asparagus, cooked, boiled, drained",
|
629
|
+
"weight": 90.0,
|
630
|
+
"measure": "0.5 cup",
|
631
|
+
"nutrients": [
|
632
|
+
{
|
633
|
+
"nutrient_id": "205",
|
634
|
+
"nutrient": "Carbohydrate, by difference",
|
635
|
+
"unit": "g",
|
636
|
+
"value": "3.70",
|
637
|
+
"gm": 4.11
|
638
|
+
}
|
639
|
+
]
|
640
|
+
},
|
641
|
+
{
|
642
|
+
"ndbno": "11019",
|
643
|
+
"name": "Asparagus, frozen, cooked, boiled, drained, without salt",
|
644
|
+
"weight": 180.0,
|
645
|
+
"measure": "1.0 cup",
|
646
|
+
"nutrients": [
|
647
|
+
{
|
648
|
+
"nutrient_id": "205",
|
649
|
+
"nutrient": "Carbohydrate, by difference",
|
650
|
+
"unit": "g",
|
651
|
+
"value": "3.46",
|
652
|
+
"gm": 1.92
|
653
|
+
}
|
654
|
+
]
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"ndbno": "18986",
|
658
|
+
"name": "AUSTIN, Grilled Cheese on Wafer Crackers, sandwich-type",
|
659
|
+
"weight": 39.0,
|
660
|
+
"measure": "1.0 package",
|
661
|
+
"nutrients": [
|
662
|
+
{
|
663
|
+
"nutrient_id": "205",
|
664
|
+
"nutrient": "Carbohydrate, by difference",
|
665
|
+
"unit": "g",
|
666
|
+
"value": "24.18",
|
667
|
+
"gm": 62.0
|
668
|
+
}
|
669
|
+
]
|
670
|
+
},
|
671
|
+
{
|
672
|
+
"ndbno": "18989",
|
673
|
+
"name": "AUSTIN, Peanut Butter on Toasty Crackers, sandwich-type, reduced fat",
|
674
|
+
"weight": 36.0,
|
675
|
+
"measure": "1.0 package",
|
676
|
+
"nutrients": [
|
677
|
+
{
|
678
|
+
"nutrient_id": "205",
|
679
|
+
"nutrient": "Carbohydrate, by difference",
|
680
|
+
"unit": "g",
|
681
|
+
"value": "24.19",
|
682
|
+
"gm": 67.2
|
683
|
+
}
|
684
|
+
]
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"ndbno": "07921",
|
688
|
+
"name": "Bacon and beef sticks",
|
689
|
+
"weight": 28.0,
|
690
|
+
"measure": "1.0 oz",
|
691
|
+
"nutrients": [
|
692
|
+
{
|
693
|
+
"nutrient_id": "205",
|
694
|
+
"nutrient": "Carbohydrate, by difference",
|
695
|
+
"unit": "g",
|
696
|
+
"value": "0.22",
|
697
|
+
"gm": 0.8
|
698
|
+
}
|
699
|
+
]
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"ndbno": "18007",
|
703
|
+
"name": "Bagels, oat bran",
|
704
|
+
"weight": 26.0,
|
705
|
+
"measure": "1.0 mini bagel (2-1/2\" dia)",
|
706
|
+
"nutrients": [
|
707
|
+
{
|
708
|
+
"nutrient_id": "205",
|
709
|
+
"nutrient": "Carbohydrate, by difference",
|
710
|
+
"unit": "g",
|
711
|
+
"value": "13.86",
|
712
|
+
"gm": 53.3
|
713
|
+
}
|
714
|
+
]
|
715
|
+
},
|
716
|
+
{
|
717
|
+
"ndbno": "18001",
|
718
|
+
"name": "Bagels, plain, enriched, with calcium propionate (includes onion, poppy, sesame)",
|
719
|
+
"weight": 99.0,
|
720
|
+
"measure": "1.0 bagel",
|
721
|
+
"nutrients": [
|
722
|
+
{
|
723
|
+
"nutrient_id": "205",
|
724
|
+
"nutrient": "Carbohydrate, by difference",
|
725
|
+
"unit": "g",
|
726
|
+
"value": "51.86",
|
727
|
+
"gm": 52.38
|
728
|
+
}
|
729
|
+
]
|
730
|
+
},
|
731
|
+
{
|
732
|
+
"ndbno": "18002",
|
733
|
+
"name": "Bagels, plain, toasted, enriched, with calcium propionate (includes onion, poppy, sesame)",
|
734
|
+
"weight": 24.0,
|
735
|
+
"measure": "1.0 mini bagel (2-1/2\" dia)",
|
736
|
+
"nutrients": [
|
737
|
+
{
|
738
|
+
"nutrient_id": "205",
|
739
|
+
"nutrient": "Carbohydrate, by difference",
|
740
|
+
"unit": "g",
|
741
|
+
"value": "13.71",
|
742
|
+
"gm": 57.11
|
743
|
+
}
|
744
|
+
]
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"ndbno": "19146",
|
748
|
+
"name": "Baking chocolate, MARS SNACKFOOD US, M&M's Milk Chocolate Mini Baking Bits",
|
749
|
+
"weight": 14.0,
|
750
|
+
"measure": "1.0 serving 0.5 oz, about 1 tbsp",
|
751
|
+
"nutrients": [
|
752
|
+
{
|
753
|
+
"nutrient_id": "205",
|
754
|
+
"nutrient": "Carbohydrate, by difference",
|
755
|
+
"unit": "g",
|
756
|
+
"value": "9.58",
|
757
|
+
"gm": 68.4
|
758
|
+
}
|
759
|
+
]
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"ndbno": "19139",
|
763
|
+
"name": "Baking chocolate, MARS SNACKFOOD US, M&M's Semisweet Chocolate Mini Baking Bits",
|
764
|
+
"weight": 14.0,
|
765
|
+
"measure": "1.0 serving 0.5 oz, about 1 tbsp",
|
766
|
+
"nutrients": [
|
767
|
+
{
|
768
|
+
"nutrient_id": "205",
|
769
|
+
"nutrient": "Carbohydrate, by difference",
|
770
|
+
"unit": "g",
|
771
|
+
"value": "9.23",
|
772
|
+
"gm": 65.96
|
773
|
+
}
|
774
|
+
]
|
775
|
+
},
|
776
|
+
{
|
777
|
+
"ndbno": "11024",
|
778
|
+
"name": "Balsam-pear (bitter gourd), pods, raw",
|
779
|
+
"weight": 93.0,
|
780
|
+
"measure": "1.0 cup (1/2\" pieces)",
|
781
|
+
"nutrients": [
|
782
|
+
{
|
783
|
+
"nutrient_id": "205",
|
784
|
+
"nutrient": "Carbohydrate, by difference",
|
785
|
+
"unit": "g",
|
786
|
+
"value": "3.44",
|
787
|
+
"gm": 3.7
|
788
|
+
}
|
789
|
+
]
|
790
|
+
},
|
791
|
+
{
|
792
|
+
"ndbno": "11026",
|
793
|
+
"name": "Bamboo shoots, raw",
|
794
|
+
"weight": 151.0,
|
795
|
+
"measure": "1.0 cup (1/2\" slices)",
|
796
|
+
"nutrients": [
|
797
|
+
{
|
798
|
+
"nutrient_id": "205",
|
799
|
+
"nutrient": "Carbohydrate, by difference",
|
800
|
+
"unit": "g",
|
801
|
+
"value": "7.85",
|
802
|
+
"gm": 5.2
|
803
|
+
}
|
804
|
+
]
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"ndbno": "07001",
|
808
|
+
"name": "Barbecue loaf, pork, beef",
|
809
|
+
"weight": 28.35,
|
810
|
+
"measure": "1.0 oz",
|
811
|
+
"nutrients": [
|
812
|
+
{
|
813
|
+
"nutrient_id": "205",
|
814
|
+
"nutrient": "Carbohydrate, by difference",
|
815
|
+
"unit": "g",
|
816
|
+
"value": "1.81",
|
817
|
+
"gm": 6.4
|
818
|
+
}
|
819
|
+
]
|
820
|
+
}
|
821
|
+
]
|
822
|
+
}
|
823
|
+
}
|
824
|
+
http_version:
|
825
|
+
recorded_at: Sun, 27 Sep 2015 01:21:24 GMT
|
826
|
+
recorded_with: VCR 2.9.3
|