Skip to content

Instantly share code, notes, and snippets.

@huttneab
Created April 14, 2015 18:16
Show Gist options
  • Save huttneab/e6ded2070d606eb61b41 to your computer and use it in GitHub Desktop.
Save huttneab/e6ded2070d606eb61b41 to your computer and use it in GitHub Desktop.
{
"deal": {
"id": 1334224,
"short_title": "Mexican Dinner for Two",
"long_title": "Mexican Dinner for Two in Adams Morgan",
"title": "Mexican Dinner for Two",
"merchant_name": "Johnny Pistola's",
"price": {
"value": 45,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$45",
"html": "<sup class=\"dollar_sign\">$<\/sup>45"
},
"display_price": 45,
"value": {
"value": 60,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$60",
"html": "$60"
},
"city": {
"id": 1,
"country_id": 1,
"name": "Washington, D.C.",
"ll": [
38.89209,
-77.024055
],
"image_url": "https:\/\/a0.lscdn.net\/imgs\/9150ea6b-2d69-4dce-ba12-6838c560909f\/100_q60.jpg",
"city_wide": false,
"seo_name": "washington-d-c"
},
"city_id": 1,
"city_ids": [
1,
229,
230,
1165,
1171,
1940
],
"city_name": "Washington, D.C.",
"country": {
"id": 1,
"code": "US",
"seo_name": "united_states"
},
"starts_at": "2014-11-20T14:50:04Z",
"ends_at": "2015-11-13T09:59:59Z",
"image_url": "https:\/\/a0.lscdn.net\/imgs\/3a0a0fa0-3537-4907-94a7-fce343bb9a29\/100_q60.jpg",
"image_urls": [
],
"secondary_image_url": null,
"large_image_urls": [
],
"large_image_url": "https:\/\/a0.lscdn.net\/imgs\/3a0a0fa0-3537-4907-94a7-fce343bb9a29\/320_q80.jpg",
"discount": 25,
"duration": null,
"marked_as_live": true,
"hide_discount": false,
"hide_orders_count": false,
"can_purchase": true,
"venmo_enabled": true,
"buy_button_text": "buy now!",
"purchase_path": "https:\/\/touch.livingsocial.com\/deals\/1334224-mexican-dinner-for-two\/purchases\/new",
"national": false,
"local": true,
"side_deal": false,
"time_left": "331 days",
"formatted_discount": "25%",
"facts": [
{
"name": "savings",
"value": 25,
"formatted": "25%"
},
{
"name": "purchased",
"value": 139,
"formatted": "139"
}
],
"deal_type": "local",
"display_deal_type": "Local",
"description": "<p>LA's addictive taco bars are the inspiration for this 18th Street eatery, where you'll find perfectly cooked Mexican cuisine, tasty margaritas, and a spirited atmosphere. What's not to like?<\/p>\r\n\r\n<p>\u2022 $45 ($60 value) for one <a href=\"http:\/\/www.johnnypistolas.com\/cocktails-and-beer\/\" target=\"_blank\">margarita<\/a> pitcher and two <a href=\"http:\/\/www.johnnypistolas.com\/johnny-pistolas-specialties\/\" target=\"_blank\">entr\u00e9es<\/a> (valid after 7 p.m.)<br \/>\r\n\u2022 $55 ($144 value) for a <a href=\"http:\/\/www.johnnypistolas.com\/menu-for-chef-table\/\" target=\"_blank\">Chef's Table<\/a> dinner for two (valid at set seating times)<br \/>\r\n\u2022 The Chef's Table dinner for two includes two appetizers with two cocktails; two entr\u00e9es with two glasses of house wine; and two desserts with two tequila flights -- seating times are 6:30 p.m. or 8:30 p.m.<\/p>\r\n\r\n<p><em>\"Great service, delicious food, surprisingly low prices for an upscale place. The waitress was really nice!\" - <a href=\"https:\/\/www.facebook.com\/palak.mehra\/activity\/10153006752533455\" target=\"_blank\">Facebook Reviewer<\/a><\/em><\/p>\r\n\r\n<p><strong>Just What Adams Morgan Needed<\/strong><br \/>\r\nPerfect for unwinding after a long day, the pitcher of margaritas (served on the rocks) will help you work up an appetite. As you sip, mull the inviting menu, which includes specialties like shrimp enchiladas, grilled carne asada, and roasted chicken with garlic and Fresno chile potatoes. The balcony is a great spot for checking out the 18th Street carnival taking place below, and there are plenty of TVs for your game-watching pleasure.<\/p>\r\n\r\n<p>Johnny Pistola's <a href=\"http:\/\/www.johnnypistolas.com\/\" target=\"_blank\">Website<\/a> | <a href=\"https:\/\/www.facebook.com\/johnnypistolasmexicantaqueriabar\" target=\"_blank\">Facebook<\/a><\/p>",
"highlights": null,
"fine_print": "Limit 1 per customer per visit \r\n\u2022 Limit 1 per table per visit\r\n\u2022 Valid only for dine-in\r\n\u2022 Option B: reservations required and subject to availability \r\n\u2022 Option A: valid only after 7 p.m. \r\n\u2022 Option B: valid only for set seating times at 6:30 or 8:30 p.m.\r\n\u2022 Excludes holidays, National Margarita Day, and Cinco de Mayo \r\n\u2022 Entire value must be used in a single visit by same pair \r\n\r\n\n<br\/>Other conditions apply<br\/>Except where noted in the fine print:<br\/>\u2022 Cannot be combined with any other offer or promotion<br\/>\u2022 Tax and gratuity are not included<br\/>\u2022 LivingSocial Terms and Conditions - <a href='https:\/\/www.livingsocial.com\/terms' target='blank'>https:\/\/www.livingsocial.com\/terms<\/a><br\/><span>PAID VALUE EXPIRES ON December 16, 2019<\/span> <span>PROMOTIONAL VALUE EXPIRES 120 DAYS AFTER PURCHASE<\/span>",
"google_map_url": "http:\/\/maps.google.com\/maps\/api\/staticmap?scale=2&size=256x256&maptype=mobile&sensor=false&markers=icon:http:\/\/a8.ak.lscdn.net\/deals\/images\/bingy\/pins\/mappin_a_1.png?1%7Cshadow:true%7C38.9204769,-77.0417005",
"addresses": [
{
"id": 2756692,
"ll": [
38.9204769,
-77.0417005
],
"phone": "202-817-3255",
"formatted": "2333 18th Street Northwest\nWashington, DC 20009"
}
],
"short_address": "Washington, DC",
"content_feature": null,
"guarantee": null,
"editorial_reviews": null,
"youtube_id": null,
"map_url": "ls:\/\/map",
"addresses_count": 1,
"sold_out": false,
"shipping_required": false,
"shipping_cutoff": null,
"options": [
{
"id": 8416792,
"title": "A. Dinner for Two After 7 p.m.: Includes One Margarita Pitcher and Two Entrees",
"maximum_orders": -1,
"maximum_orders_per_purchase": 10,
"maximum_gifts_per_purchase": 10,
"price": {
"value": 45,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$45.00",
"html": "<sup class=\"dollar_sign\">$<\/sup>45<span class=\"precision\"><sup>.00<\/sup><\/span>"
},
"value": {
"value": 60,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$60.00",
"html": "<sup class=\"dollar_sign\">$<\/sup>60<span class=\"precision\"><sup>.00<\/sup><\/span>"
},
"sold_out": false,
"available_for_purchase": true,
"starts_at": null,
"formatted_starts_at": null,
"formatted_starts_at_time": null,
"remaining_orders": null,
"formatted_expiration": null,
"formatted_remaining_orders": null,
"order_quantity": 0,
"gift_quantity": 0,
"allow_gifting": true,
"option_title": "A. Dinner for Two After 7 p.m.: Includes One Margarita Pitcher and Two Entrees",
"marked_as_live": true,
"ticketmaster_url": null,
"external_event_option_url": null,
"fixed_quantity_values": null
},
{
"id": 8416794,
"title": "B. Chef's Table Dinner for Two with Pairings at Seating Time: Includes Two Appetizers with Two Cocktails, Two Entrees with Two Glasses of House Wine, and Two Desserts with Two Tequila Flights ",
"maximum_orders": -1,
"maximum_orders_per_purchase": 10,
"maximum_gifts_per_purchase": 10,
"price": {
"value": 55,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$55.00",
"html": "<sup class=\"dollar_sign\">$<\/sup>55<span class=\"precision\"><sup>.00<\/sup><\/span>"
},
"value": {
"value": 144,
"currency": {
"symbol": "$",
"code": "USD"
},
"formatted": "$144.00",
"html": "<sup class=\"dollar_sign\">$<\/sup>144<span class=\"precision\"><sup>.00<\/sup><\/span>"
},
"sold_out": false,
"available_for_purchase": true,
"starts_at": null,
"formatted_starts_at": null,
"formatted_starts_at_time": null,
"remaining_orders": null,
"formatted_expiration": null,
"formatted_remaining_orders": null,
"order_quantity": 0,
"gift_quantity": 0,
"allow_gifting": true,
"option_title": "B. Chef's Table Dinner for Two with Pairings at Seating Time: Includes Two Appetizers with Two Cocktails, Two Entrees with Two Glasses of House Wine, and Two Desserts with Two Tequila Flights ",
"marked_as_live": true,
"ticketmaster_url": null,
"external_event_option_url": null,
"fixed_quantity_values": null
}
],
"formatted_orders_count": "139",
"dates": null,
"time_slots": false,
"countdown": true,
"me_plus_three": true,
"needs_date_chosen": false,
"live_event": false,
"venue_name": null,
"date_tagline": null,
"additional_information": null,
"duplicate_option_times": null,
"one_off": null,
"one_off_buy_button_text": "buy now!",
"requires_participant_input": false,
"cvv_required": false,
"is_passbookable": true,
"is_telecharge_deal": false,
"is_ticketmaster_deal": null,
"ticketmaster_purchase_count": null,
"narrow_image_url": "https:\/\/a1.lscdn.net\/imgs\/3a0a0fa0-3537-4907-94a7-fce343bb9a29\/.jpg",
"wide_image_url": null,
"four_three_image_url": "https:\/\/a0.lscdn.net\/imgs\/7300f2b0-6806-4286-a908-563c15ca332a\/100_q60.jpg",
"display_image_url": "https:\/\/a0.lscdn.net\/imgs\/7300f2b0-6806-4286-a908-563c15ca332a\/640_q80.jpg",
"date_specific": false,
"tour": false,
"air_tour": false,
"additional_live_event_info": null,
"venue_need_to_know": null,
"ab_group": null,
"purchase_flow_ab_group": null,
"ended": false,
"password_reset_required": null,
"at_home_service_area": null,
"model_name": "LocalDeal",
"is_external_event": false,
"external_url": null,
"fixed_quantity_values": {
},
"show_urgency": true,
"is_single_url_external_event": false,
"good_deal_guarantee": true,
"related_categories": [
{
"category_id": 1,
"seo_category": {
"db_id": 1,
"db_name": "Full-Service Restaurant",
"db_parent_id": null,
"db_parent_name": null,
"seo_id": 199,
"seo_name": "Food & Drink",
"seo_display_name": "Restaurants",
"seo_uri_fragment": "food-deals",
"seo_parent_id": null,
"seo_parent_name": null,
"seo_parent_display_name": null,
"seo_parent_uri_fragment": null,
"url": "https:\/\/www.livingsocial.com\/cities\/1-washington-d-c\/food-deals",
"mobile_url": "https:\/\/m.livingsocial.com\/cities\/1-washington-d-c\/food-deals"
},
"uri_fragment": "food-deals",
"name": "Restaurants"
},
{
"category_id": 97,
"seo_category": {
"db_id": 97,
"db_name": "European",
"db_parent_id": 1,
"db_parent_name": "Full-Service Restaurant",
"seo_id": 67,
"seo_name": "European",
"seo_display_name": "European",
"seo_uri_fragment": "european-restaurants-deals",
"seo_parent_id": 199,
"seo_parent_name": "Food & Drink",
"seo_parent_display_name": "Restaurants",
"seo_parent_uri_fragment": "food-deals",
"url": "https:\/\/www.livingsocial.com\/cities\/1-washington-d-c\/european-restaurants-deals",
"mobile_url": "https:\/\/m.livingsocial.com\/cities\/1-washington-d-c\/european-restaurants-deals"
},
"uri_fragment": "european-restaurants-deals",
"name": "European"
},
{
"category_id": 25,
"seo_category": {
"db_id": 25,
"db_name": "Asian",
"db_parent_id": 1,
"db_parent_name": "Full-Service Restaurant",
"seo_id": 63,
"seo_name": "Asian",
"seo_display_name": "Asian",
"seo_uri_fragment": "asian-restaurant-deals",
"seo_parent_id": 199,
"seo_parent_name": "Food & Drink",
"seo_parent_display_name": "Restaurants",
"seo_parent_uri_fragment": "food-deals",
"url": "https:\/\/www.livingsocial.com\/cities\/1-washington-d-c\/asian-restaurant-deals",
"mobile_url": "https:\/\/m.livingsocial.com\/cities\/1-washington-d-c\/asian-restaurant-deals"
},
"uri_fragment": "asian-restaurant-deals",
"name": "Asian"
}
],
"tags": null,
"locale": "en-US",
"incentivized_deal": false,
"category": "Full-Service Restaurant",
"subcategories": [
{
"category_id": 99,
"created_at": "2010\/11\/07 16:14:57 -0500",
"deal_id": 1334224,
"deprecated_at": null,
"id": 99,
"parent_id": 1,
"title": "Other (Restaurant)",
"updated_at": "2014\/10\/28 16:54:46 -0400"
}
],
"online": false,
"shipping_information": {
"shipping_fee": 0,
"ships_free": false
},
"dfp": {
"ad_unit_id": "\/7132793\/Mobile_App_Browse",
"parameters": {
"slot": "mobile_slot2",
"countryid": 1,
"cityid": 1
},
"width": 320,
"height": 160
}
},
"id": 1239012,
"person": {
"id": 212287036,
"email": "lstest@test.com",
"available_credit": 0,
"credit_cards": [
]
},
"purchase": {
"id": 1,
"deal_id": 1239012,
"title": "",
"description": "",
"voucher_ids": [
1,
2,
3
],
"giftable_coupons": [
],
"needs_attendees": "false",
"needs_shipping_address": "false",
"status": "success",
"message": "test message",
"next_url": "www.google.com",
"maximum_attendees_count": 5,
"event_date": "",
"live_event": "false",
"credit_card_id": 1,
"payment_type": "CREDIT_CARD",
"total_price": "1000",
"formatted_total_price": "$1000.00",
"resolvable_decline": "false",
"line_items": [
],
"errors": [
],
"shares": {
"twitter": {
"url": "http:\/\/www.livingsocial.com\/deals\/1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner?ref=mobile-twitter-share-post-purchase&rpi=189550256&rui=135177167",
"message": "$20 to Spend on Peruvian Food and Drink at Dinner: Don Pollo - Gaithersburg",
"href": "https:\/\/twitter.com\/intent\/tweet?text=%2420+to+Spend+on+Peruvian+Food+and+Drink+at+Dinner%3A+Don+Pollo+-+Gaithersburg&url=http%3A%2F%2Fwww.livingsocial.com%2Fdeals%2F1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner%3Fref%3Dmobile-twitter-share-post-purchase%26rpi%3D189550256%26rui%3D135177167&via=LivingSocial&lst=twitter"
},
"facebook": {
"url": "http:\/\/www.livingsocial.com\/deals\/1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner?ref=mobile-facebook-share-post-purchase&rpi=189550256&rui=135177167",
"message": "{\"name\":\"$20 to Spend on Peruvian Food and Drink at Dinner: Don Pollo - Gaithersburg\",\"description\":\"50% savings: For a meal rich in authentic Peruvian flavors that the whole family will enjoy, turn to the Gaithersburg outpost of this...\",\"caption\":\"livingsocial.com\",\"href\":\"http:\/\/www.livingsocial.com\/deals\/1417404?ref=iphone-feed-story\\u0026rui=135177167\",\"media\":[{\"src\":\"https:\/\/a0.lscdn.net\/imgs\/c03161ce-6941-4396-8df9-b8516a3345dc\/535_q60.jpg\",\"href\":\"http:\/\/www.livingsocial.com\/deals\/1417404?ref=iphone-feed-img\\u0026rui=135177167\",\"type\":\"image\"}]}",
"href": "https:\/\/www.facebook.com\/dialog\/feed?app_id=48187595837&redirect_uri=http%3A%2F%2Fwww.livingsocial.com%2Fdeals%2F1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner%3Fref%3Dmobile-facebook-share-post-purchase%26rpi%3D189550256%26rui%3D135177167&caption=livingsocial.com&name=$20 to Spend on Peruvian Food and Drink at Dinner: Don Pollo - Gaithersburg&link=http%3A%2F%2Fwww.livingsocial.com%2Fdeals%2F1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner%3Fref%3Dmobile-facebook-share-post-purchase%26rpi%3D189550256%26rui%3D135177167&display=touch&description=50% savings: For a meal rich in authentic Peruvian flavors that the whole family will enjoy, turn to the Gaithersburg outpost of this...&lst=facebook"
},
"email": {
"url": "http:\/\/www.livingsocial.com\/deals\/1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner?ref=mobile-email-share-post-purchase&rpi=189550256&rui=135177167",
"message": "Hey! I found this LivingSocial deal from Don Pollo - Gaithersburg and thought you may be interested in it too. Check it out! http:\/\/www.livingsocial.com\/deals\/1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner?ref=mobile-email-share-post-purchase&rpi=189550256&rui=135177167",
"href": "mailto:?subject=The%20Best%20Daily%20Deals%20in%20Montgomery%20County:%20$20%20to%20Spend%20on%20Peruvian%20Food%20and%20Drink%20at%20Dinner&body=http:\/\/www.livingsocial.com\/deals\/1417404-20-to-spend-on-peruvian-food-and-drink-at-dinner?ref=mobile-email-share-post-purchase&rpi=189550256&rui=135177167&lst=email"
}
},
"cvv_failed": "false"
},
"paypal_enabled": true,
"paypal_resolve_decline_enabled": true,
"visa_checkout_enabled": true,
"google_wallet": {
"enabled": true,
"price_limit": 2000
},
"dfp": {
"ad_unit_id": "\/7132793\/Mobile_App_Browse",
"parameters": {
"slot": "mobile_slot2",
"countryid": 1,
"cityid": 1
},
"width": 320,
"height": 160
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment