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,89 @@
|
|
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&ndbno=01009&nutrients=205&offset=0&sort=f&subset=0
|
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:14:40 GMT
|
37
|
+
Location:
|
38
|
+
- ''
|
39
|
+
Server:
|
40
|
+
- nginx
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Via:
|
44
|
+
- 1.1 varnish-v4
|
45
|
+
X-Cache:
|
46
|
+
- MISS
|
47
|
+
X-Ratelimit-Limit:
|
48
|
+
- '1000'
|
49
|
+
X-Ratelimit-Remaining:
|
50
|
+
- '968'
|
51
|
+
X-Varnish:
|
52
|
+
- '41869073'
|
53
|
+
Transfer-Encoding:
|
54
|
+
- chunked
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
58
|
+
encoding: ASCII-8BIT
|
59
|
+
string: |-
|
60
|
+
{
|
61
|
+
"report": {
|
62
|
+
"sr": "27",
|
63
|
+
"groups": "All groups",
|
64
|
+
"subset": "All foods",
|
65
|
+
"end": 1,
|
66
|
+
"start": 0,
|
67
|
+
"total": 1,
|
68
|
+
"foods": [
|
69
|
+
{
|
70
|
+
"ndbno": "01009",
|
71
|
+
"name": "Cheese, cheddar",
|
72
|
+
"weight": 132.0,
|
73
|
+
"measure": "1.0 cup, diced",
|
74
|
+
"nutrients": [
|
75
|
+
{
|
76
|
+
"nutrient_id": "205",
|
77
|
+
"nutrient": "Carbohydrate, by difference",
|
78
|
+
"unit": "g",
|
79
|
+
"value": "1.76",
|
80
|
+
"gm": 1.33
|
81
|
+
}
|
82
|
+
]
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
86
|
+
}
|
87
|
+
http_version:
|
88
|
+
recorded_at: Sun, 27 Sep 2015 01:14:40 GMT
|
89
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,824 @@
|
|
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=204&offset=0&sort=f&subset=0
|
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 00:52:14 GMT
|
37
|
+
Location:
|
38
|
+
- ''
|
39
|
+
Server:
|
40
|
+
- nginx
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Via:
|
44
|
+
- 1.1 varnish-v4
|
45
|
+
X-Cache:
|
46
|
+
- MISS
|
47
|
+
X-Ratelimit-Limit:
|
48
|
+
- '1000'
|
49
|
+
X-Ratelimit-Remaining:
|
50
|
+
- '973'
|
51
|
+
X-Varnish:
|
52
|
+
- '41406705'
|
53
|
+
Transfer-Encoding:
|
54
|
+
- chunked
|
55
|
+
Connection:
|
56
|
+
- keep-alive
|
57
|
+
body:
|
58
|
+
encoding: ASCII-8BIT
|
59
|
+
string: |-
|
60
|
+
{
|
61
|
+
"report": {
|
62
|
+
"sr": "27",
|
63
|
+
"groups": "All groups",
|
64
|
+
"subset": "All foods",
|
65
|
+
"end": 50,
|
66
|
+
"start": 0,
|
67
|
+
"total": 8372,
|
68
|
+
"foods": [
|
69
|
+
{
|
70
|
+
"ndbno": "09427",
|
71
|
+
"name": "Abiyuch, raw",
|
72
|
+
"weight": 114.0,
|
73
|
+
"measure": "0.5 cup",
|
74
|
+
"nutrients": [
|
75
|
+
{
|
76
|
+
"nutrient_id": "204",
|
77
|
+
"nutrient": "Total lipid (fat)",
|
78
|
+
"unit": "g",
|
79
|
+
"value": "0.11",
|
80
|
+
"gm": 0.1
|
81
|
+
}
|
82
|
+
]
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"ndbno": "09002",
|
86
|
+
"name": "Acerola juice, raw",
|
87
|
+
"weight": 242.0,
|
88
|
+
"measure": "1.0 cup",
|
89
|
+
"nutrients": [
|
90
|
+
{
|
91
|
+
"nutrient_id": "204",
|
92
|
+
"nutrient": "Total lipid (fat)",
|
93
|
+
"unit": "g",
|
94
|
+
"value": "0.73",
|
95
|
+
"gm": 0.3
|
96
|
+
}
|
97
|
+
]
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"ndbno": "09001",
|
101
|
+
"name": "Acerola, (west indian cherry), raw",
|
102
|
+
"weight": 98.0,
|
103
|
+
"measure": "1.0 cup",
|
104
|
+
"nutrients": [
|
105
|
+
{
|
106
|
+
"nutrient_id": "204",
|
107
|
+
"nutrient": "Total lipid (fat)",
|
108
|
+
"unit": "g",
|
109
|
+
"value": "0.29",
|
110
|
+
"gm": 0.3
|
111
|
+
}
|
112
|
+
]
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"ndbno": "14006",
|
116
|
+
"name": "Alcoholic beverage, beer, light",
|
117
|
+
"weight": 29.5,
|
118
|
+
"measure": "1.0 fl oz",
|
119
|
+
"nutrients": [
|
120
|
+
{
|
121
|
+
"nutrient_id": "204",
|
122
|
+
"nutrient": "Total lipid (fat)",
|
123
|
+
"unit": "g",
|
124
|
+
"value": "0.00",
|
125
|
+
"gm": 0.0
|
126
|
+
}
|
127
|
+
]
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"ndbno": "14007",
|
131
|
+
"name": "Alcoholic beverage, beer, light, BUD LIGHT",
|
132
|
+
"weight": 29.5,
|
133
|
+
"measure": "1.0 fl oz",
|
134
|
+
"nutrients": [
|
135
|
+
{
|
136
|
+
"nutrient_id": "204",
|
137
|
+
"nutrient": "Total lipid (fat)",
|
138
|
+
"unit": "g",
|
139
|
+
"value": "0.00",
|
140
|
+
"gm": 0.0
|
141
|
+
}
|
142
|
+
]
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"ndbno": "14005",
|
146
|
+
"name": "Alcoholic beverage, beer, light, BUDWEISER SELECT",
|
147
|
+
"weight": 30.0,
|
148
|
+
"measure": "1.0 fluid ounce",
|
149
|
+
"nutrients": [
|
150
|
+
{
|
151
|
+
"nutrient_id": "204",
|
152
|
+
"nutrient": "Total lipid (fat)",
|
153
|
+
"unit": "g",
|
154
|
+
"value": "0.00",
|
155
|
+
"gm": 0.0
|
156
|
+
}
|
157
|
+
]
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"ndbno": "14013",
|
161
|
+
"name": "Alcoholic beverage, beer, light, MICHELOB ULTRA",
|
162
|
+
"weight": 29.5,
|
163
|
+
"measure": "1.0 fl oz",
|
164
|
+
"nutrients": [
|
165
|
+
{
|
166
|
+
"nutrient_id": "204",
|
167
|
+
"nutrient": "Total lipid (fat)",
|
168
|
+
"unit": "g",
|
169
|
+
"value": "0.00",
|
170
|
+
"gm": 0.0
|
171
|
+
}
|
172
|
+
]
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"ndbno": "14003",
|
176
|
+
"name": "Alcoholic beverage, beer, regular, all",
|
177
|
+
"weight": 29.7,
|
178
|
+
"measure": "1.0 fl oz",
|
179
|
+
"nutrients": [
|
180
|
+
{
|
181
|
+
"nutrient_id": "204",
|
182
|
+
"nutrient": "Total lipid (fat)",
|
183
|
+
"unit": "g",
|
184
|
+
"value": "0.00",
|
185
|
+
"gm": 0.0
|
186
|
+
}
|
187
|
+
]
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"ndbno": "14004",
|
191
|
+
"name": "Alcoholic beverage, beer, regular, BUDWEISER",
|
192
|
+
"weight": 29.8,
|
193
|
+
"measure": "1.0 fl oz",
|
194
|
+
"nutrients": [
|
195
|
+
{
|
196
|
+
"nutrient_id": "204",
|
197
|
+
"nutrient": "Total lipid (fat)",
|
198
|
+
"unit": "g",
|
199
|
+
"value": "0.00",
|
200
|
+
"gm": 0.0
|
201
|
+
}
|
202
|
+
]
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"ndbno": "14034",
|
206
|
+
"name": "Alcoholic beverage, creme de menthe, 72 proof",
|
207
|
+
"weight": 33.6,
|
208
|
+
"measure": "1.0 fl oz",
|
209
|
+
"nutrients": [
|
210
|
+
{
|
211
|
+
"nutrient_id": "204",
|
212
|
+
"nutrient": "Total lipid (fat)",
|
213
|
+
"unit": "g",
|
214
|
+
"value": "0.10",
|
215
|
+
"gm": 0.3
|
216
|
+
}
|
217
|
+
]
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"ndbno": "14009",
|
221
|
+
"name": "Alcoholic beverage, daiquiri, canned",
|
222
|
+
"weight": 30.5,
|
223
|
+
"measure": "1.0 fl oz",
|
224
|
+
"nutrients": [
|
225
|
+
{
|
226
|
+
"nutrient_id": "204",
|
227
|
+
"nutrient": "Total lipid (fat)",
|
228
|
+
"unit": "g",
|
229
|
+
"value": "0.00",
|
230
|
+
"gm": 0.0
|
231
|
+
}
|
232
|
+
]
|
233
|
+
},
|
234
|
+
{
|
235
|
+
"ndbno": "14010",
|
236
|
+
"name": "Alcoholic beverage, daiquiri, prepared-from-recipe",
|
237
|
+
"weight": 30.2,
|
238
|
+
"measure": "1.0 fl oz",
|
239
|
+
"nutrients": [
|
240
|
+
{
|
241
|
+
"nutrient_id": "204",
|
242
|
+
"nutrient": "Total lipid (fat)",
|
243
|
+
"unit": "g",
|
244
|
+
"value": "0.02",
|
245
|
+
"gm": 0.06
|
246
|
+
}
|
247
|
+
]
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"ndbno": "14533",
|
251
|
+
"name": "Alcoholic beverage, distilled, all (gin, rum, vodka, whiskey) 100 proof",
|
252
|
+
"weight": 27.8,
|
253
|
+
"measure": "1.0 fl oz",
|
254
|
+
"nutrients": [
|
255
|
+
{
|
256
|
+
"nutrient_id": "204",
|
257
|
+
"nutrient": "Total lipid (fat)",
|
258
|
+
"unit": "g",
|
259
|
+
"value": "0.00",
|
260
|
+
"gm": 0.0
|
261
|
+
}
|
262
|
+
]
|
263
|
+
},
|
264
|
+
{
|
265
|
+
"ndbno": "14037",
|
266
|
+
"name": "Alcoholic beverage, distilled, all (gin, rum, vodka, whiskey) 80 proof",
|
267
|
+
"weight": 27.8,
|
268
|
+
"measure": "1.0 fl oz",
|
269
|
+
"nutrients": [
|
270
|
+
{
|
271
|
+
"nutrient_id": "204",
|
272
|
+
"nutrient": "Total lipid (fat)",
|
273
|
+
"unit": "g",
|
274
|
+
"value": "0.00",
|
275
|
+
"gm": 0.0
|
276
|
+
}
|
277
|
+
]
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"ndbno": "14550",
|
281
|
+
"name": "Alcoholic beverage, distilled, all (gin, rum, vodka, whiskey) 86 proof",
|
282
|
+
"weight": 27.8,
|
283
|
+
"measure": "1.0 fl oz",
|
284
|
+
"nutrients": [
|
285
|
+
{
|
286
|
+
"nutrient_id": "204",
|
287
|
+
"nutrient": "Total lipid (fat)",
|
288
|
+
"unit": "g",
|
289
|
+
"value": "0.00",
|
290
|
+
"gm": 0.0
|
291
|
+
}
|
292
|
+
]
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"ndbno": "14551",
|
296
|
+
"name": "Alcoholic beverage, distilled, all (gin, rum, vodka, whiskey) 90 proof",
|
297
|
+
"weight": 27.8,
|
298
|
+
"measure": "1.0 fl oz",
|
299
|
+
"nutrients": [
|
300
|
+
{
|
301
|
+
"nutrient_id": "204",
|
302
|
+
"nutrient": "Total lipid (fat)",
|
303
|
+
"unit": "g",
|
304
|
+
"value": "0.00",
|
305
|
+
"gm": 0.0
|
306
|
+
}
|
307
|
+
]
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"ndbno": "14532",
|
311
|
+
"name": "Alcoholic beverage, distilled, all (gin, rum, vodka, whiskey) 94 proof",
|
312
|
+
"weight": 27.8,
|
313
|
+
"measure": "1.0 fl oz",
|
314
|
+
"nutrients": [
|
315
|
+
{
|
316
|
+
"nutrient_id": "204",
|
317
|
+
"nutrient": "Total lipid (fat)",
|
318
|
+
"unit": "g",
|
319
|
+
"value": "0.00",
|
320
|
+
"gm": 0.0
|
321
|
+
}
|
322
|
+
]
|
323
|
+
},
|
324
|
+
{
|
325
|
+
"ndbno": "14049",
|
326
|
+
"name": "Alcoholic beverage, distilled, gin, 90 proof",
|
327
|
+
"weight": 27.8,
|
328
|
+
"measure": "1.0 fl oz",
|
329
|
+
"nutrients": [
|
330
|
+
{
|
331
|
+
"nutrient_id": "204",
|
332
|
+
"nutrient": "Total lipid (fat)",
|
333
|
+
"unit": "g",
|
334
|
+
"value": "0.00",
|
335
|
+
"gm": 0.0
|
336
|
+
}
|
337
|
+
]
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"ndbno": "14050",
|
341
|
+
"name": "Alcoholic beverage, distilled, rum, 80 proof",
|
342
|
+
"weight": 27.8,
|
343
|
+
"measure": "1.0 fl oz",
|
344
|
+
"nutrients": [
|
345
|
+
{
|
346
|
+
"nutrient_id": "204",
|
347
|
+
"nutrient": "Total lipid (fat)",
|
348
|
+
"unit": "g",
|
349
|
+
"value": "0.00",
|
350
|
+
"gm": 0.0
|
351
|
+
}
|
352
|
+
]
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"ndbno": "14051",
|
356
|
+
"name": "Alcoholic beverage, distilled, vodka, 80 proof",
|
357
|
+
"weight": 27.8,
|
358
|
+
"measure": "1.0 fl oz",
|
359
|
+
"nutrients": [
|
360
|
+
{
|
361
|
+
"nutrient_id": "204",
|
362
|
+
"nutrient": "Total lipid (fat)",
|
363
|
+
"unit": "g",
|
364
|
+
"value": "0.00",
|
365
|
+
"gm": 0.0
|
366
|
+
}
|
367
|
+
]
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"ndbno": "14052",
|
371
|
+
"name": "Alcoholic beverage, distilled, whiskey, 86 proof",
|
372
|
+
"weight": 27.8,
|
373
|
+
"measure": "1.0 fl oz",
|
374
|
+
"nutrients": [
|
375
|
+
{
|
376
|
+
"nutrient_id": "204",
|
377
|
+
"nutrient": "Total lipid (fat)",
|
378
|
+
"unit": "g",
|
379
|
+
"value": "0.00",
|
380
|
+
"gm": 0.0
|
381
|
+
}
|
382
|
+
]
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"ndbno": "14415",
|
386
|
+
"name": "Alcoholic beverage, liqueur, coffee with cream, 34 proof",
|
387
|
+
"weight": 31.1,
|
388
|
+
"measure": "1.0 fl oz",
|
389
|
+
"nutrients": [
|
390
|
+
{
|
391
|
+
"nutrient_id": "204",
|
392
|
+
"nutrient": "Total lipid (fat)",
|
393
|
+
"unit": "g",
|
394
|
+
"value": "4.88",
|
395
|
+
"gm": 15.7
|
396
|
+
}
|
397
|
+
]
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"ndbno": "14414",
|
401
|
+
"name": "Alcoholic beverage, liqueur, coffee, 53 proof",
|
402
|
+
"weight": 34.8,
|
403
|
+
"measure": "1.0 fl oz",
|
404
|
+
"nutrients": [
|
405
|
+
{
|
406
|
+
"nutrient_id": "204",
|
407
|
+
"nutrient": "Total lipid (fat)",
|
408
|
+
"unit": "g",
|
409
|
+
"value": "0.10",
|
410
|
+
"gm": 0.3
|
411
|
+
}
|
412
|
+
]
|
413
|
+
},
|
414
|
+
{
|
415
|
+
"ndbno": "14534",
|
416
|
+
"name": "Alcoholic beverage, liqueur, coffee, 63 proof",
|
417
|
+
"weight": 34.8,
|
418
|
+
"measure": "1.0 fl oz",
|
419
|
+
"nutrients": [
|
420
|
+
{
|
421
|
+
"nutrient_id": "204",
|
422
|
+
"nutrient": "Total lipid (fat)",
|
423
|
+
"unit": "g",
|
424
|
+
"value": "0.10",
|
425
|
+
"gm": 0.3
|
426
|
+
}
|
427
|
+
]
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"ndbno": "14015",
|
431
|
+
"name": "Alcoholic beverage, pina colada, canned",
|
432
|
+
"weight": 32.6,
|
433
|
+
"measure": "1.0 fl oz",
|
434
|
+
"nutrients": [
|
435
|
+
{
|
436
|
+
"nutrient_id": "204",
|
437
|
+
"nutrient": "Total lipid (fat)",
|
438
|
+
"unit": "g",
|
439
|
+
"value": "2.48",
|
440
|
+
"gm": 7.6
|
441
|
+
}
|
442
|
+
]
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"ndbno": "14017",
|
446
|
+
"name": "Alcoholic beverage, pina colada, prepared-from-recipe",
|
447
|
+
"weight": 31.4,
|
448
|
+
"measure": "1.0 fl oz",
|
449
|
+
"nutrients": [
|
450
|
+
{
|
451
|
+
"nutrient_id": "204",
|
452
|
+
"nutrient": "Total lipid (fat)",
|
453
|
+
"unit": "g",
|
454
|
+
"value": "0.59",
|
455
|
+
"gm": 1.88
|
456
|
+
}
|
457
|
+
]
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"ndbno": "43479",
|
461
|
+
"name": "Alcoholic beverage, rice (sake)",
|
462
|
+
"weight": 29.1,
|
463
|
+
"measure": "1.0 fl oz",
|
464
|
+
"nutrients": [
|
465
|
+
{
|
466
|
+
"nutrient_id": "204",
|
467
|
+
"nutrient": "Total lipid (fat)",
|
468
|
+
"unit": "g",
|
469
|
+
"value": "0.00",
|
470
|
+
"gm": 0.0
|
471
|
+
}
|
472
|
+
]
|
473
|
+
},
|
474
|
+
{
|
475
|
+
"ndbno": "14019",
|
476
|
+
"name": "Alcoholic beverage, tequila sunrise, canned",
|
477
|
+
"weight": 31.1,
|
478
|
+
"measure": "1.0 fl oz",
|
479
|
+
"nutrients": [
|
480
|
+
{
|
481
|
+
"nutrient_id": "204",
|
482
|
+
"nutrient": "Total lipid (fat)",
|
483
|
+
"unit": "g",
|
484
|
+
"value": "0.03",
|
485
|
+
"gm": 0.1
|
486
|
+
}
|
487
|
+
]
|
488
|
+
},
|
489
|
+
{
|
490
|
+
"ndbno": "14027",
|
491
|
+
"name": "Alcoholic beverage, whiskey sour, canned",
|
492
|
+
"weight": 30.8,
|
493
|
+
"measure": "1.0 fl oz",
|
494
|
+
"nutrients": [
|
495
|
+
{
|
496
|
+
"nutrient_id": "204",
|
497
|
+
"nutrient": "Total lipid (fat)",
|
498
|
+
"unit": "g",
|
499
|
+
"value": "0.00",
|
500
|
+
"gm": 0.0
|
501
|
+
}
|
502
|
+
]
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"ndbno": "14029",
|
506
|
+
"name": "Alcoholic beverage, whiskey sour, prepared from item 14028",
|
507
|
+
"weight": 30.4,
|
508
|
+
"measure": "1.0 fl oz",
|
509
|
+
"nutrients": [
|
510
|
+
{
|
511
|
+
"nutrient_id": "204",
|
512
|
+
"nutrient": "Total lipid (fat)",
|
513
|
+
"unit": "g",
|
514
|
+
"value": "0.02",
|
515
|
+
"gm": 0.06
|
516
|
+
}
|
517
|
+
]
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"ndbno": "14025",
|
521
|
+
"name": "Alcoholic beverage, whiskey sour, prepared with water, whiskey and powder mix",
|
522
|
+
"weight": 29.4,
|
523
|
+
"measure": "1.0 fl oz",
|
524
|
+
"nutrients": [
|
525
|
+
{
|
526
|
+
"nutrient_id": "204",
|
527
|
+
"nutrient": "Total lipid (fat)",
|
528
|
+
"unit": "g",
|
529
|
+
"value": "0.01",
|
530
|
+
"gm": 0.02
|
531
|
+
}
|
532
|
+
]
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"ndbno": "43154",
|
536
|
+
"name": "Alcoholic beverage, wine, cooking",
|
537
|
+
"weight": 4.9,
|
538
|
+
"measure": "1.0 tsp",
|
539
|
+
"nutrients": [
|
540
|
+
{
|
541
|
+
"nutrient_id": "204",
|
542
|
+
"nutrient": "Total lipid (fat)",
|
543
|
+
"unit": "g",
|
544
|
+
"value": "0.00",
|
545
|
+
"gm": 0.0
|
546
|
+
}
|
547
|
+
]
|
548
|
+
},
|
549
|
+
{
|
550
|
+
"ndbno": "14536",
|
551
|
+
"name": "Alcoholic beverage, wine, dessert, dry",
|
552
|
+
"weight": 29.5,
|
553
|
+
"measure": "1.0 fl oz",
|
554
|
+
"nutrients": [
|
555
|
+
{
|
556
|
+
"nutrient_id": "204",
|
557
|
+
"nutrient": "Total lipid (fat)",
|
558
|
+
"unit": "g",
|
559
|
+
"value": "0.00",
|
560
|
+
"gm": 0.0
|
561
|
+
}
|
562
|
+
]
|
563
|
+
},
|
564
|
+
{
|
565
|
+
"ndbno": "14057",
|
566
|
+
"name": "Alcoholic beverage, wine, dessert, sweet",
|
567
|
+
"weight": 29.5,
|
568
|
+
"measure": "1.0 fl oz",
|
569
|
+
"nutrients": [
|
570
|
+
{
|
571
|
+
"nutrient_id": "204",
|
572
|
+
"nutrient": "Total lipid (fat)",
|
573
|
+
"unit": "g",
|
574
|
+
"value": "0.00",
|
575
|
+
"gm": 0.0
|
576
|
+
}
|
577
|
+
]
|
578
|
+
},
|
579
|
+
{
|
580
|
+
"ndbno": "43155",
|
581
|
+
"name": "Alcoholic beverage, wine, light",
|
582
|
+
"weight": 29.5,
|
583
|
+
"measure": "1.0 fl oz",
|
584
|
+
"nutrients": [
|
585
|
+
{
|
586
|
+
"nutrient_id": "204",
|
587
|
+
"nutrient": "Total lipid (fat)",
|
588
|
+
"unit": "g",
|
589
|
+
"value": "0.00",
|
590
|
+
"gm": 0.0
|
591
|
+
}
|
592
|
+
]
|
593
|
+
},
|
594
|
+
{
|
595
|
+
"ndbno": "14084",
|
596
|
+
"name": "Alcoholic beverage, wine, table, all",
|
597
|
+
"weight": 148.0,
|
598
|
+
"measure": "1.0 serving 5 fl oz",
|
599
|
+
"nutrients": [
|
600
|
+
{
|
601
|
+
"nutrient_id": "204",
|
602
|
+
"nutrient": "Total lipid (fat)",
|
603
|
+
"unit": "g",
|
604
|
+
"value": "0.00",
|
605
|
+
"gm": 0.0
|
606
|
+
}
|
607
|
+
]
|
608
|
+
},
|
609
|
+
{
|
610
|
+
"ndbno": "14096",
|
611
|
+
"name": "Alcoholic beverage, wine, table, red",
|
612
|
+
"weight": 29.4,
|
613
|
+
"measure": "1.0 fl oz",
|
614
|
+
"nutrients": [
|
615
|
+
{
|
616
|
+
"nutrient_id": "204",
|
617
|
+
"nutrient": "Total lipid (fat)",
|
618
|
+
"unit": "g",
|
619
|
+
"value": "0.00",
|
620
|
+
"gm": 0.0
|
621
|
+
}
|
622
|
+
]
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"ndbno": "14101",
|
626
|
+
"name": "Alcoholic Beverage, wine, table, red, Barbera",
|
627
|
+
"weight": 29.4,
|
628
|
+
"measure": "1.0 fl oz",
|
629
|
+
"nutrients": [
|
630
|
+
{
|
631
|
+
"nutrient_id": "204",
|
632
|
+
"nutrient": "Total lipid (fat)",
|
633
|
+
"unit": "g",
|
634
|
+
"value": "0.00",
|
635
|
+
"gm": 0.0
|
636
|
+
}
|
637
|
+
]
|
638
|
+
},
|
639
|
+
{
|
640
|
+
"ndbno": "14152",
|
641
|
+
"name": "Alcoholic Beverage, wine, table, red, Burgundy",
|
642
|
+
"weight": 29.5,
|
643
|
+
"measure": "1.0 fl oz",
|
644
|
+
"nutrients": [
|
645
|
+
{
|
646
|
+
"nutrient_id": "204",
|
647
|
+
"nutrient": "Total lipid (fat)",
|
648
|
+
"unit": "g",
|
649
|
+
"value": "0.00",
|
650
|
+
"gm": 0.0
|
651
|
+
}
|
652
|
+
]
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"ndbno": "14098",
|
656
|
+
"name": "Alcoholic Beverage, wine, table, red, Cabernet Franc",
|
657
|
+
"weight": 29.0,
|
658
|
+
"measure": "1.0 fluid ounce",
|
659
|
+
"nutrients": [
|
660
|
+
{
|
661
|
+
"nutrient_id": "204",
|
662
|
+
"nutrient": "Total lipid (fat)",
|
663
|
+
"unit": "g",
|
664
|
+
"value": "0.00",
|
665
|
+
"gm": 0.0
|
666
|
+
}
|
667
|
+
]
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"ndbno": "14097",
|
671
|
+
"name": "Alcoholic Beverage, wine, table, red, Cabernet Sauvignon",
|
672
|
+
"weight": 29.0,
|
673
|
+
"measure": "1.0 fluid ounce",
|
674
|
+
"nutrients": [
|
675
|
+
{
|
676
|
+
"nutrient_id": "204",
|
677
|
+
"nutrient": "Total lipid (fat)",
|
678
|
+
"unit": "g",
|
679
|
+
"value": "0.00",
|
680
|
+
"gm": 0.0
|
681
|
+
}
|
682
|
+
]
|
683
|
+
},
|
684
|
+
{
|
685
|
+
"ndbno": "14109",
|
686
|
+
"name": "Alcoholic Beverage, wine, table, red, Carignane",
|
687
|
+
"weight": 29.4,
|
688
|
+
"measure": "1.0 fl oz",
|
689
|
+
"nutrients": [
|
690
|
+
{
|
691
|
+
"nutrient_id": "204",
|
692
|
+
"nutrient": "Total lipid (fat)",
|
693
|
+
"unit": "g",
|
694
|
+
"value": "0.00",
|
695
|
+
"gm": 0.0
|
696
|
+
}
|
697
|
+
]
|
698
|
+
},
|
699
|
+
{
|
700
|
+
"ndbno": "14105",
|
701
|
+
"name": "Alcoholic Beverage, wine, table, red, Claret",
|
702
|
+
"weight": 29.4,
|
703
|
+
"measure": "1.0 fl oz",
|
704
|
+
"nutrients": [
|
705
|
+
{
|
706
|
+
"nutrient_id": "204",
|
707
|
+
"nutrient": "Total lipid (fat)",
|
708
|
+
"unit": "g",
|
709
|
+
"value": "0.00",
|
710
|
+
"gm": 0.0
|
711
|
+
}
|
712
|
+
]
|
713
|
+
},
|
714
|
+
{
|
715
|
+
"ndbno": "14158",
|
716
|
+
"name": "Alcoholic Beverage, wine, table, red, Gamay",
|
717
|
+
"weight": 29.4,
|
718
|
+
"measure": "1.0 fl oz",
|
719
|
+
"nutrients": [
|
720
|
+
{
|
721
|
+
"nutrient_id": "204",
|
722
|
+
"nutrient": "Total lipid (fat)",
|
723
|
+
"unit": "g",
|
724
|
+
"value": "0.00",
|
725
|
+
"gm": 0.0
|
726
|
+
}
|
727
|
+
]
|
728
|
+
},
|
729
|
+
{
|
730
|
+
"ndbno": "14107",
|
731
|
+
"name": "Alcoholic Beverage, wine, table, red, Lemberger",
|
732
|
+
"weight": 29.4,
|
733
|
+
"measure": "1.0 fl oz",
|
734
|
+
"nutrients": [
|
735
|
+
{
|
736
|
+
"nutrient_id": "204",
|
737
|
+
"nutrient": "Total lipid (fat)",
|
738
|
+
"unit": "g",
|
739
|
+
"value": "0.00",
|
740
|
+
"gm": 0.0
|
741
|
+
}
|
742
|
+
]
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"ndbno": "14602",
|
746
|
+
"name": "Alcoholic Beverage, wine, table, red, Merlot",
|
747
|
+
"weight": 29.4,
|
748
|
+
"measure": "1.0 fl oz",
|
749
|
+
"nutrients": [
|
750
|
+
{
|
751
|
+
"nutrient_id": "204",
|
752
|
+
"nutrient": "Total lipid (fat)",
|
753
|
+
"unit": "g",
|
754
|
+
"value": "0.00",
|
755
|
+
"gm": 0.0
|
756
|
+
}
|
757
|
+
]
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"ndbno": "14159",
|
761
|
+
"name": "Alcoholic Beverage, wine, table, red, Mouvedre",
|
762
|
+
"weight": 29.4,
|
763
|
+
"measure": "1.0 fl oz",
|
764
|
+
"nutrients": [
|
765
|
+
{
|
766
|
+
"nutrient_id": "204",
|
767
|
+
"nutrient": "Total lipid (fat)",
|
768
|
+
"unit": "g",
|
769
|
+
"value": "0.00",
|
770
|
+
"gm": 0.0
|
771
|
+
}
|
772
|
+
]
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"ndbno": "14103",
|
776
|
+
"name": "Alcoholic Beverage, wine, table, red, Petite Sirah",
|
777
|
+
"weight": 29.5,
|
778
|
+
"measure": "1.0 fl oz",
|
779
|
+
"nutrients": [
|
780
|
+
{
|
781
|
+
"nutrient_id": "204",
|
782
|
+
"nutrient": "Total lipid (fat)",
|
783
|
+
"unit": "g",
|
784
|
+
"value": "0.00",
|
785
|
+
"gm": 0.0
|
786
|
+
}
|
787
|
+
]
|
788
|
+
},
|
789
|
+
{
|
790
|
+
"ndbno": "14099",
|
791
|
+
"name": "Alcoholic Beverage, wine, table, red, Pinot Noir",
|
792
|
+
"weight": 29.4,
|
793
|
+
"measure": "1.0 fl oz",
|
794
|
+
"nutrients": [
|
795
|
+
{
|
796
|
+
"nutrient_id": "204",
|
797
|
+
"nutrient": "Total lipid (fat)",
|
798
|
+
"unit": "g",
|
799
|
+
"value": "0.00",
|
800
|
+
"gm": 0.0
|
801
|
+
}
|
802
|
+
]
|
803
|
+
},
|
804
|
+
{
|
805
|
+
"ndbno": "14108",
|
806
|
+
"name": "Alcoholic Beverage, wine, table, red, Sangiovese",
|
807
|
+
"weight": 29.4,
|
808
|
+
"measure": "1.0 fl oz",
|
809
|
+
"nutrients": [
|
810
|
+
{
|
811
|
+
"nutrient_id": "204",
|
812
|
+
"nutrient": "Total lipid (fat)",
|
813
|
+
"unit": "g",
|
814
|
+
"value": "0.00",
|
815
|
+
"gm": 0.0
|
816
|
+
}
|
817
|
+
]
|
818
|
+
}
|
819
|
+
]
|
820
|
+
}
|
821
|
+
}
|
822
|
+
http_version:
|
823
|
+
recorded_at: Sun, 27 Sep 2015 00:52:14 GMT
|
824
|
+
recorded_with: VCR 2.9.3
|