Skip to content

Instantly share code, notes, and snippets.

@blacksheep557
Created January 18, 2021 15:23
Show Gist options
  • Select an option

  • Save blacksheep557/1d1f80e458ae7947541034d896d95b16 to your computer and use it in GitHub Desktop.

Select an option

Save blacksheep557/1d1f80e458ae7947541034d896d95b16 to your computer and use it in GitHub Desktop.
const wine = {
"vintage": {
"id": 156018871,
"seo_name": "alexandrie-cellars-alexandrie-brut-nv",
"name": "Alexandrie Cellars Alexandrie Brut",
"statistics": {"status": "Normal", "ratings_count": 259, "ratings_average": 4.6, "labels_count": 741},
"image": {
"location": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_480x640.png", "variations": {
"bottle_large": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pb_x960.png",
"bottle_medium": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pb_x600.png",
"bottle_medium_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pb_600x600.png",
"bottle_small": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pb_x300.png",
"bottle_small_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pb_300x300.png",
"label": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_480x640.png",
"label_large": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_375x500.png",
"label_medium": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_150x200.png",
"label_medium_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_150x150.png",
"label_small_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_80x80.png",
"large": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_375x500.png",
"medium": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_150x200.png",
"medium_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_150x150.png",
"small_square": "//images.vivino.com/thumbs/uc3qkd0HQHaTGIG7AJ1UPA_pl_80x80.png"
}
},
"wine": {
"id": 6060870,
"name": "Alexandrie Brut",
"seo_name": "alexandrie-brut",
"type_id": 3,
"vintage_type": 1,
"is_natural": false,
"region": {
"id": 105,
"name": "Rutherford",
"name_en": "",
"seo_name": "rutherford",
"country": {
"code": "us",
"name": "United States",
"native_name": "United States",
"seo_name": "united-states",
"currency": {"code": "USD", "name": "US Dollars", "prefix": "$", "suffix": null},
"regions_count": 353,
"users_count": 9787458,
"wines_count": 227456,
"wineries_count": 26046,
"most_used_grapes": [{
"id": 2,
"name": "Cabernet Sauvignon",
"seo_name": "cabernet-sauvignon",
"has_detailed_info": true,
"wines_count": 706919
}, {
"id": 14,
"name": "Pinot Noir",
"seo_name": "pinot-noir",
"has_detailed_info": true,
"wines_count": 499374
}, {
"id": 5,
"name": "Chardonnay",
"seo_name": "chardonnay",
"has_detailed_info": true,
"wines_count": 526587
}]
},
"class": {"typecast_map": {"background_image": {}, "class": {}}},
"background_image": {
"location": "//images.vivino.com/regions/backgrounds/YIECzf9JShax_qdsscwI2Q.jpg",
"variations": {
"large": "//thumbs.vivino.com/region_backgrounds/YIECzf9JShax_qdsscwI2Q_1280x760.jpg",
"medium": "//thumbs.vivino.com/region_backgrounds/YIECzf9JShax_qdsscwI2Q_600x356.jpg"
}
}
},
"winery": {
"id": 266683,
"name": "Alexandrie Cellars",
"seo_name": "alexandrie-cellars",
"status": 0
},
"taste": {
"structure": {
"acidity": 3.2121012,
"fizziness": 3.917004,
"intensity": 3.7694552,
"sweetness": null,
"tannin": null,
"user_structure_count": 9,
"calculated_structure_count": 40
},
"flavor": [{
"group": "tree_fruit",
"stats": {"count": 43, "score": 5100}
}, {"group": "citrus_fruit", "stats": {"count": 31, "score": 3900}}, {
"group": "non_oak",
"stats": {"count": 20, "score": 1309}
}, {"group": "microbio", "stats": {"count": 14, "score": 1098}}, {
"group": "oak",
"stats": {"count": 14, "score": 1013}
}, {"group": "earth", "stats": {"count": 12, "score": 1358}}, {
"group": "tropical_fruit",
"stats": {"count": 4, "score": 400}
}, {"group": "spices", "stats": {"count": 2, "score": 122}}, {
"group": "vegetal",
"stats": {"count": 2, "score": 200}
}, {"group": "red_fruit", "stats": {"count": 2, "score": 200}}]
},
"statistics": {
"status": "Normal",
"ratings_count": 259,
"ratings_average": 4.6,
"labels_count": 741,
"vintages_count": 1
},
"style": {
"id": 215,
"seo_name": "californian-sparkling",
"regional_name": "Californian",
"varietal_name": "Sparkling",
"name": "Californian Sparkling",
"image": null,
"background_image": null,
"description": "The elegance of sparkling wine suits Northern California's wine region. While California isn't exactly famous for its bubbles, there are some fabulous bottles on offer.\n\nThese wines are known to be crisp, dry and extremely mousse-y. With wonderful fizz, fantastic citrus, orchard and brioche notes, Californian sparkling wine provides a great alternative to overpriced Champagne.\n\nSparkling wine production in California started in 1892 with the Korbel Brothers in Sonoma County. They began producing what's regarded as the first quality sparkling wine in America using the méthode champenoise (the process of having secondary fermentation inside the bottle, thus creating the bubbles).\n\nMost Champagne and sparkling wine is made with Pinot Noir or Chardonnay grapes, two varietals that grow in abundance in California.\n\nSome of the finest sparkling wines in California come from Mendocino County, specifically in the Anderson Valley. Some of the big names are Scharffenberger, Roederer and Schramsberg.\n\nFor pairing with Californian sparkling wine you should look towards seafood. A nice charred squid or some scallops would go wonderfully, and you could even work something a little spicier in there.",
"blurb": null,
"interesting_facts": ["California sold approximately 9 million cases of sparkling wine in 2013.", "Unless you make sparkling wine in the Champagne region of France you're not allowed to call it “Champagne”.", "Producers in New York state are starting to have some success producing sparkling wine with Riesling grapes."],
"body": 3,
"body_description": "Medium-bodied",
"acidity": 3,
"acidity_description": "High",
"country": {
"code": "us",
"name": "United States",
"native_name": "United States",
"seo_name": "united-states",
"currency": {"code": "USD", "name": "US Dollars", "prefix": "$", "suffix": null},
"regions_count": 353,
"users_count": 9787458,
"wines_count": 227456,
"wineries_count": 26046,
"most_used_grapes": [{
"id": 2,
"name": "Cabernet Sauvignon",
"seo_name": "cabernet-sauvignon",
"has_detailed_info": true,
"wines_count": 706919
}, {
"id": 14,
"name": "Pinot Noir",
"seo_name": "pinot-noir",
"has_detailed_info": true,
"wines_count": 499374
}, {
"id": 5,
"name": "Chardonnay",
"seo_name": "chardonnay",
"has_detailed_info": true,
"wines_count": 526587
}]
},
"wine_type_id": 3,
"food": [{
"id": 13,
"name": "Shellfish",
"background_image": {
"location": "//images.vivino.com/backgrounds/foods/13_shellfish.png",
"variations": {"small": "//images.vivino.com/backgrounds/foods/thumbs/13_shellfish_932x810.png"}
},
"seo_name": "shellfish"
}, {
"id": 27,
"name": "Appetizers and snacks",
"background_image": {
"location": "//images.vivino.com/backgrounds/foods/27_appetizers-snacks.png",
"variations": {"small": "//images.vivino.com/backgrounds/foods/thumbs/27_appetizers-snacks_932x810.png"}
},
"seo_name": null
}, {
"id": 28,
"name": "Lean fish",
"background_image": {
"location": "//images.vivino.com/backgrounds/foods/28_leanfish.png",
"variations": {"small": "//images.vivino.com/backgrounds/foods/thumbs/28_leanfish_932x810.png"}
},
"seo_name": null
}, {
"id": 40,
"name": "Aperitif",
"background_image": {
"location": "//images.vivino.com/backgrounds/foods/40_aperitif.png",
"variations": {"small": "//images.vivino.com/backgrounds/foods/thumbs/40_aperitif_932x810.png"}
},
"seo_name": null
}],
"grapes": [{
"id": 5,
"name": "Chardonnay",
"seo_name": "chardonnay",
"has_detailed_info": true,
"wines_count": 526587
}, {
"id": 14,
"name": "Pinot Noir",
"seo_name": "pinot-noir",
"has_detailed_info": true,
"wines_count": 499374
}],
"region": {
"id": 24,
"name": "California",
"name_en": "",
"seo_name": "california",
"country": {
"code": "us",
"name": "United States",
"native_name": "United States",
"seo_name": "united-states",
"currency": {"code": "USD", "name": "US Dollars", "prefix": "$", "suffix": null},
"regions_count": 353,
"users_count": 9787458,
"wines_count": 227456,
"wineries_count": 26046,
"most_used_grapes": [{
"id": 2,
"name": "Cabernet Sauvignon",
"seo_name": "cabernet-sauvignon",
"has_detailed_info": true,
"wines_count": 706919
}, {
"id": 14,
"name": "Pinot Noir",
"seo_name": "pinot-noir",
"has_detailed_info": true,
"wines_count": 499374
}, {
"id": 5,
"name": "Chardonnay",
"seo_name": "chardonnay",
"has_detailed_info": true,
"wines_count": 526587
}]
},
"background_image": {
"location": "//images.vivino.com/regions/backgrounds/HNZzLu5DSQ2VV5Ls5S02OQ.jpg",
"variations": {
"large": "//thumbs.vivino.com/region_backgrounds/HNZzLu5DSQ2VV5Ls5S02OQ_1280x760.jpg",
"medium": "//thumbs.vivino.com/region_backgrounds/HNZzLu5DSQ2VV5Ls5S02OQ_600x356.jpg"
}
},
"class": {"typecast_map": {"background_image": {}, "class": {}}}
}
},
"has_valid_ratings": true
},
"year": "N.V.",
"grapes": null,
"has_valid_ratings": true
},
"price": {
"id": 20952220,
"amount": 39.99,
"discounted_from": null,
"discount_percent": null,
"type": "vc",
"sku": "5C744DD9A4222F5197AC33F9",
"url": "https://www.alexandriecellars.com/shop/alexandrie-brut-sparkling-wine-750ml",
"visibility": 1,
"bottle_type_id": 1,
"bottle_quantity": 1,
"currency": {"code": "USD", "name": "US Dollars", "prefix": "$", "suffix": null},
"bottle_type": {
"id": 1,
"name": "Bottle (0.75l)",
"short_name": "bottle",
"short_name_plural": "bottles",
"volume_ml": 750
}
},
"prices": [{
"id": 20952220,
"amount": 39.99,
"discounted_from": null,
"discount_percent": null,
"type": "vc",
"sku": "5C744DD9A4222F5197AC33F9",
"url": "https://www.alexandriecellars.com/shop/alexandrie-brut-sparkling-wine-750ml",
"visibility": 1,
"bottle_type_id": 1,
"bottle_quantity": 1,
"currency": {"code": "USD", "name": "US Dollars", "prefix": "$", "suffix": null},
"bottle_type": {
"id": 1,
"name": "Bottle (0.75l)",
"short_name": "bottle",
"short_name_plural": "bottles",
"volume_ml": 750
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment