citygrid_api 0.0.5.1 → 0.0.6
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.
- data/.sass-cache/c6f2c767b164f077e5b9fb1f18a7886d7c755211/test.scssc +0 -0
- data/Gemfile +3 -1
- data/Gemfile.lock +9 -1
- data/VERSION +1 -1
- data/citygrid_api.gemspec +85 -45
- data/citygrid_api.yml.backup +35 -0
- data/citygrid_api.yml.sample +35 -23
- data/fixtures/vcr_cassettes/AdGroupCriterion_mutate.yml +30 -0
- data/fixtures/vcr_cassettes/AdGroupCriterion_search.yml +35 -0
- data/fixtures/vcr_cassettes/Adding_a_place.yml +33 -0
- data/fixtures/vcr_cassettes/Call_Detail_by_campaign.yml +79 -0
- data/fixtures/vcr_cassettes/Geo.yml +32 -0
- data/fixtures/vcr_cassettes/Getting_an_offer_by_listing_ID.yml +54 -0
- data/fixtures/vcr_cassettes/Import_a_cg_account.yml +54 -0
- data/fixtures/vcr_cassettes/Initiating_a_Details.yml +133 -0
- data/fixtures/vcr_cassettes/Initiating_new_MultiDetails.yml +133 -0
- data/fixtures/vcr_cassettes/Method_of_Payment_mutate.yml +33 -0
- data/fixtures/vcr_cassettes/Method_of_Payment_search.yml +59 -0
- data/fixtures/vcr_cassettes/Mutating_AdGroup_Ads.yml +30 -0
- data/fixtures/vcr_cassettes/Report_summary_daily.yml +60 -0
- data/fixtures/vcr_cassettes/Report_summary_user_actions.yml +36 -0
- data/fixtures/vcr_cassettes/Search_Ad_Group_by_Campaign_Id.yml +31 -0
- data/fixtures/vcr_cassettes/Search_Billing_by_Campaign_Id.yml +30 -0
- data/fixtures/vcr_cassettes/Search_account_manager_by_Campaign_Id.yml +30 -0
- data/fixtures/vcr_cassettes/Searching_AdGroup_Geo.yml +57 -0
- data/fixtures/vcr_cassettes/Searching_budgets.yml +30 -0
- data/fixtures/vcr_cassettes/Searching_categories_by_listing_id.yml +35 -0
- data/fixtures/vcr_cassettes/Searching_categories_by_query.yml +33 -0
- data/fixtures/vcr_cassettes/Upload_an_image_Add_a_preview.yml +31 -0
- data/fixtures/vcr_cassettes/create_campaign.yml +30 -0
- data/fixtures/vcr_cassettes/log_in_a_session.yml +24 -0
- data/fixtures/vcr_cassettes/log_in_a_session_mutate_places.yml +56 -0
- data/fixtures/vcr_cassettes/query_account_type_by_id.yml +30 -0
- data/fixtures/vcr_cassettes/search_for_an_account_by_id.yml +31 -0
- data/fixtures/vcr_cassettes/search_for_an_account_by_name.yml +55 -0
- data/fixtures/vcr_cassettes/searching_for_a_CityGrid_listing.yml +168 -0
- data/fixtures/vcr_cassettes/searching_for_a_special_CityGrid_listing.yml +67 -0
- data/lib/citygrid/abstraction/requestable.rb +1 -0
- data/lib/citygrid/api/accounts/account.rb +17 -0
- data/lib/citygrid/api/accounts/authentication.rb +3 -0
- data/lib/citygrid/api/accounts/method_of_payment.rb +10 -0
- data/lib/citygrid/api/accounts/user.rb +18 -0
- data/lib/citygrid/api/accounts.rb +8 -0
- data/lib/citygrid/api/advertising/account_manager.rb +9 -0
- data/lib/citygrid/api/advertising/ad_group.rb +10 -0
- data/lib/citygrid/api/advertising/ad_group_ad.rb +10 -0
- data/lib/citygrid/api/advertising/ad_group_criterion.rb +10 -0
- data/lib/citygrid/api/advertising/ad_group_geo.rb +10 -0
- data/lib/citygrid/api/advertising/billing.rb +9 -0
- data/lib/citygrid/api/advertising/budget.rb +10 -0
- data/lib/citygrid/api/advertising/call_detail.rb +10 -0
- data/lib/citygrid/api/advertising/campaign.rb +10 -0
- data/lib/citygrid/api/advertising/category.rb +10 -0
- data/lib/citygrid/api/advertising/geolocation.rb +10 -0
- data/lib/citygrid/api/{ad_center → advertising}/image.rb +2 -2
- data/lib/citygrid/api/{ad_center → advertising}/performance.rb +5 -2
- data/lib/citygrid/api/advertising/places.rb +10 -0
- data/lib/citygrid/api/advertising.rb +10 -0
- data/lib/citygrid/api/content/offers.rb +2 -12
- data/lib/citygrid/api/content/places.rb +4 -26
- data/lib/citygrid/api/content.rb +1 -5
- data/lib/citygrid/api/mutatable.rb +15 -0
- data/lib/citygrid/api/searchable.rb +15 -0
- data/lib/citygrid/api.rb +54 -52
- data/lib/citygrid/details.rb +3 -6
- data/lib/citygrid/offers.rb +1 -5
- data/lib/citygrid/search.rb +3 -6
- data/lib/citygrid/session.rb +65 -0
- data/lib/citygrid.rb +46 -75
- data/lib/request_ext.rb +4 -5
- data/lib/string_ext.rb +7 -0
- data/test/api/accounts/test_account.rb +111 -0
- data/test/api/accounts/test_method_of_payment.rb +50 -0
- data/test/api/advertising/test_account_manager.rb +14 -0
- data/test/api/advertising/test_ad_group.rb +13 -0
- data/test/api/advertising/test_ad_group_ad.rb +24 -0
- data/test/api/advertising/test_ad_group_criterion.rb +47 -0
- data/test/api/{ad_center → advertising}/test_ad_group_geo.rb +1 -1
- data/test/api/{ad_center → advertising}/test_billing.rb +4 -3
- data/test/api/{ad_center → advertising}/test_budget.rb +3 -3
- data/test/api/{ad_center → advertising}/test_call_detail.rb +5 -11
- data/test/api/{ad_center → advertising}/test_category.rb +9 -12
- data/test/api/advertising/test_create_campaign_and_ad_group.rb +56 -0
- data/test/api/{ad_center → advertising}/test_geolocation.rb +1 -1
- data/test/api/{ad_center → advertising}/test_image.rb +1 -3
- data/test/api/{ad_center/test_reports.rb → advertising/test_performance.rb} +6 -10
- data/test/api/advertising/test_places.rb +109 -0
- data/test/{test_details.rb → api/content/test_details.rb} +2 -3
- data/test/{test_search.rb → api/content/test_search.rb} +2 -2
- data/test/auth_token.rb +39 -0
- data/test/helper.rb +31 -31
- data/test/session_helper.rb +20 -0
- data/test/test_session.rb +53 -0
- metadata +115 -67
- data/lib/citygrid/api/ad_center/account.rb +0 -26
- data/lib/citygrid/api/ad_center/account_manager.rb +0 -8
- data/lib/citygrid/api/ad_center/ad_group.rb +0 -8
- data/lib/citygrid/api/ad_center/ad_group_ad.rb +0 -8
- data/lib/citygrid/api/ad_center/ad_group_criterion.rb +0 -8
- data/lib/citygrid/api/ad_center/ad_group_geo.rb +0 -8
- data/lib/citygrid/api/ad_center/authentication.rb +0 -20
- data/lib/citygrid/api/ad_center/billing.rb +0 -8
- data/lib/citygrid/api/ad_center/budget.rb +0 -9
- data/lib/citygrid/api/ad_center/call_detail.rb +0 -25
- data/lib/citygrid/api/ad_center/campaign.rb +0 -8
- data/lib/citygrid/api/ad_center/category.rb +0 -9
- data/lib/citygrid/api/ad_center/geolocation.rb +0 -9
- data/lib/citygrid/api/ad_center/method_of_payment.rb +0 -10
- data/lib/citygrid/api/ad_center/places.rb +0 -8
- data/lib/citygrid/api/ad_center/user.rb +0 -8
- data/lib/citygrid/api/ad_center.rb +0 -20
- data/lib/citygrid/api/content/places/detail.rb +0 -11
- data/lib/citygrid/api/content/places/search.rb +0 -11
- data/test/api/ad_center/test_account.rb +0 -120
- data/test/api/ad_center/test_ad_group.rb +0 -50
- data/test/api/ad_center/test_ad_group_ad.rb +0 -27
- data/test/api/ad_center/test_ad_group_criterion.rb +0 -37
- data/test/api/ad_center/test_authentication.rb +0 -22
- data/test/api/ad_center/test_campaign.rb +0 -27
- data/test/api/ad_center/test_method_of_payment.rb +0 -51
- data/test/api/ad_center/test_places.rb +0 -79
- data/test/api/content/test_places.rb +0 -66
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.citygridmedia.com:80/content/offers/v2/search/places?client_ip=192.168.0.1&format=json&listing_id=628554020&publisher=citygrid
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json
|
10
|
+
content-type:
|
11
|
+
- Application/JSON
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Fri, 30 Dec 2011 01:06:18 GMT
|
19
|
+
server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
content-type:
|
22
|
+
- application/json
|
23
|
+
content-length:
|
24
|
+
- '6066'
|
25
|
+
vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
body: ! '{"results":{"query_id":null,"uri":"http://api.citygridmedia.com/search/offers/v2/search/places?listing_id=628554020&has_budget=false&format=json&page=1&rpp=20&radius=5.0&histograms=false&publisher=citygrid®ion_type=circle","first_hit":1,"last_hit":3,"total_hits":3,"page":1,"rpp":20,"did_you_mean":null,"regions":[],"histograms":[],"offers":[{"attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_source":"CUSTOMER","attribution_text":"Citysearch","attribution_url":null,"id":"cg_49335902","reference_id":null,"impression_id":"000b000002d637e49a4d1c480b8adc1a47eda099ff","title":"Family
|
28
|
+
Special - for 4 to 6 people $26 (Regular Price $32.14)\n","description":"Family
|
29
|
+
Special for 4-6 people. $26 (Reg. $32.14)\n-One Large 2-topping pizza\n-One
|
30
|
+
Med 2-topping pizza\n- One 2 Litre soda\n","redemption_type_id":1,"redemption_type":"Print","terms":"Not
|
31
|
+
valid with any other offers. Mentioning Citysearch is required.","image_url":"http://images.citysearch.net/assets/imgdb/merchant/2011/2/23/0/npLdlNsF103_100x100.jpeg","start_date":"2010-01-06T00:00:00Z","redemption_url":null,"offer_source":"CUSTOMER","offer_types":["other"],"expiration_date":null,"popularity":null,"face_value":null,"discount_value":null,"locations":[{"id":628554020,"infousa_id":null,"rating":8.0,"name":"Bella
|
32
|
+
Kitchen","address":{"street":"8556 122nd Ave NE Ste A2","city":"Kirkland","state":"WA","postal_code":"98033"},"phone":"4252424764","latitude":47.0,"longitude":-122.0,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2009/12/18/0/PmwVniqn32_100x100.jpeg","business_hours":"Sunday-Thursday
|
33
|
+
10am-10pm\nFriday-Saturday 10am-2am","tags":[{"id":11361,"name":"MasterCard","primary":false},{"id":11267,"name":"Food
|
34
|
+
Delivery","primary":false},{"id":11247,"name":"Carry Out","primary":false},{"id":11279,"name":"Italian","primary":false},{"id":1684,"name":"Food
|
35
|
+
& Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":1738,"name":"Global","primary":false},{"id":1722,"name":"Restaurants","primary":true},{"id":11333,"name":"American
|
36
|
+
Express","primary":false},{"id":1736,"name":"Sandwich Shops","primary":false},{"id":11299,"name":"Pizza","primary":false}],"public_id":"bella-kitchen-kirkland"}],"offer_collapse_count":null},{"attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_source":"CUSTOMER","attribution_text":"Citysearch","attribution_url":null,"id":"cg_49335922","reference_id":null,"impression_id":"000b000002d67511042861450a9b01d6f1b13f6534","title":"10\"
|
37
|
+
1-topping pizza for $5 when mentioning Citysearch!\n","description":"10\" 1-topping
|
38
|
+
pizza for $5! Mentioning Citysearch is required.\n","redemption_type_id":1,"redemption_type":"Print","terms":"Not
|
39
|
+
to be combined with other offers.","image_url":"http://images.citysearch.net/assets/imgdb/merchant/2011/2/23/0/ZrgRhGee78_100x100.jpeg","start_date":"2010-01-06T00:00:00Z","redemption_url":null,"offer_source":"CUSTOMER","offer_types":["other"],"expiration_date":null,"popularity":null,"face_value":null,"discount_value":null,"locations":[{"id":628554020,"infousa_id":null,"rating":8.0,"name":"Bella
|
40
|
+
Kitchen","address":{"street":"8556 122nd Ave NE Ste A2","city":"Kirkland","state":"WA","postal_code":"98033"},"phone":"4252424764","latitude":47.0,"longitude":-122.0,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2009/12/18/0/PmwVniqn32_100x100.jpeg","business_hours":"Sunday-Thursday
|
41
|
+
10am-10pm\nFriday-Saturday 10am-2am","tags":[{"id":11361,"name":"MasterCard","primary":false},{"id":11267,"name":"Food
|
42
|
+
Delivery","primary":false},{"id":11247,"name":"Carry Out","primary":false},{"id":11279,"name":"Italian","primary":false},{"id":1684,"name":"Food
|
43
|
+
& Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":1738,"name":"Global","primary":false},{"id":1722,"name":"Restaurants","primary":true},{"id":11333,"name":"American
|
44
|
+
Express","primary":false},{"id":1736,"name":"Sandwich Shops","primary":false},{"id":11299,"name":"Pizza","primary":false}],"public_id":"bella-kitchen-kirkland"}],"offer_collapse_count":null},{"attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_source":"CUSTOMER","attribution_text":"Citysearch","attribution_url":null,"id":"cg_49335912","reference_id":null,"impression_id":"000b000002429f3cafee1b4c3f9337696665f83a6a","title":"Office
|
45
|
+
Pack for 6 to 8 people for $36 (Regular Price $48.30)\n","description":"Office
|
46
|
+
Pack for 6 to 8 people $36 (Reg. $48.30)\n- Two Large 2-topping Pizza''s\n-
|
47
|
+
One 2 Litre Soda\n- Caesar Salad Bowl\n","redemption_type_id":1,"redemption_type":"Print","terms":"Not
|
48
|
+
valid with any other offers. Mentioning Citysearch is required.","image_url":"http://images.citysearch.net/assets/imgdb/merchant/2011/2/23/0/QrAXPXEW105_100x100.jpeg","start_date":"2010-01-06T00:00:00Z","redemption_url":null,"offer_source":"CUSTOMER","offer_types":["other"],"expiration_date":null,"popularity":null,"face_value":null,"discount_value":null,"locations":[{"id":628554020,"infousa_id":null,"rating":8.0,"name":"Bella
|
49
|
+
Kitchen","address":{"street":"8556 122nd Ave NE Ste A2","city":"Kirkland","state":"WA","postal_code":"98033"},"phone":"4252424764","latitude":47.0,"longitude":-122.0,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2009/12/18/0/PmwVniqn32_100x100.jpeg","business_hours":"Sunday-Thursday
|
50
|
+
10am-10pm\nFriday-Saturday 10am-2am","tags":[{"id":11361,"name":"MasterCard","primary":false},{"id":11267,"name":"Food
|
51
|
+
Delivery","primary":false},{"id":11247,"name":"Carry Out","primary":false},{"id":11279,"name":"Italian","primary":false},{"id":1684,"name":"Food
|
52
|
+
& Dining","primary":false},{"id":11382,"name":"Visa","primary":false},{"id":1738,"name":"Global","primary":false},{"id":1722,"name":"Restaurants","primary":true},{"id":11333,"name":"American
|
53
|
+
Express","primary":false},{"id":1736,"name":"Sandwich Shops","primary":false},{"id":11299,"name":"Pizza","primary":false}],"public_id":"bella-kitchen-kirkland"}],"offer_collapse_count":null}]}}'
|
54
|
+
http_version: '1.1'
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://api-qassl.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=GARYTEST
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Fri, 30 Dec 2011 01:05:51 GMT
|
15
|
+
server:
|
16
|
+
- Apache-Coyote/1.1
|
17
|
+
content-type:
|
18
|
+
- application/json
|
19
|
+
vary:
|
20
|
+
- Accept-Encoding
|
21
|
+
transfer-encoding:
|
22
|
+
- chunked
|
23
|
+
body: ! '{"code":201,"authToken":"92e47a6fae6c86044c1b697d85d7add8"}'
|
24
|
+
http_version: '1.1'
|
25
|
+
- !ruby/struct:VCR::HTTPInteraction
|
26
|
+
request: !ruby/struct:VCR::Request
|
27
|
+
method: :post
|
28
|
+
uri: https://api-qassl.citygrid.com:443/accounts/account/v2/customer/mutate
|
29
|
+
body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"firstName":"nico-api","lastName":"gomez-api","phone":"9001111112","businessName":"businessProveApi","address1":"dir-api","city":"montevideo","state":"Montevideo","zipCode":"90069"}}]}'
|
30
|
+
headers:
|
31
|
+
accept:
|
32
|
+
- application/json
|
33
|
+
content-type:
|
34
|
+
- Application/JSON
|
35
|
+
authtoken:
|
36
|
+
- 92e47a6fae6c86044c1b697d85d7add8
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
date:
|
43
|
+
- Fri, 30 Dec 2011 01:05:51 GMT
|
44
|
+
server:
|
45
|
+
- Apache-Coyote/1.1
|
46
|
+
content-type:
|
47
|
+
- application/json
|
48
|
+
vary:
|
49
|
+
- Accept-Encoding
|
50
|
+
transfer-encoding:
|
51
|
+
- chunked
|
52
|
+
body: ! '{"totalNumEntries":1,"accountList":[{"id":"","state":"","response":{"message":"UserName
|
53
|
+
is required.","code":400},"status":"","firstName":"","lastName":"","address1":"","city":"","businessName":"","phone":"","zipCode":""}]}'
|
54
|
+
http_version: '1.1'
|
@@ -0,0 +1,133 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.citygridmedia.com:80/content/places/v2/detail?client_ip=192.168.0.1&format=json&public_id=philip-marie-restaurant-new-york&publisher=citygrid
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json
|
10
|
+
content-type:
|
11
|
+
- Application/JSON
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Fri, 30 Dec 2011 01:06:16 GMT
|
19
|
+
server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
content-type:
|
22
|
+
- application/json
|
23
|
+
vary:
|
24
|
+
- Accept-Encoding
|
25
|
+
transfer-encoding:
|
26
|
+
- chunked
|
27
|
+
body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"00090000008e16a36104224f68923e58897676c311","display_ad":false,"infousa_id":508613312,"name":"Philip
|
28
|
+
Marie Restaurant","teaser":null,"address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
|
29
|
+
York","state":"NY","postal_code":"10014","cross_street":"W 11th Street","latitude":40.735910,"longitude":-74.005940},"contact_info":{"display_phone":"2122426200","display_url":"http://www.philipmarie.com","social_media":{"twitter_username":{"image_icon":null,"text":"philipmarie","url":null},"facebook_fanpage":{"image_icon":null,"text":"philipmarienyc?ref=ts#!pagesPhilip-Marie-Restaurant136344239721051","url":null}}},"markets":["New
|
30
|
+
York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbjaBrq3u_w2cdnO_aIqfYthSN-Md7zICQzI2YE_d-EvG6XZ__p91aS5qCQRRX7fwYbYo6T9bGCL_bMPIItiX9Y6SFZznZ7hjzYXPjbeqpYFRfGgP3fDDQ-WS0_83OFlEgIDuhRoQAfqSFnHoPpMNCn_u9zQi3gRwGHqnDH_uCuN279-tzaNF2Jdvd1OP3Y1cVx96hZP4oop7w","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pWGzdiREbL6GCDpja03jopIGxYX4RzrPmLzOqABXsz-7ylOqL_zGGzid1gIe1xCVEQzT2ZsNxDtB13Vvd4CmzvHLFavo4LN04NRt-cpvuYWVUKF4KeSgh6W6BnzDXr4wBDaWC1Xavke_uJdWAKWrZucdIh2yZwKg8eAUYj0cC-YzHX50MdBcSzCANPEBKwFodfzhh-jJTk3qA","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpzRHVKW4QMY87PN1VB4uxOllRxK56T1DFHrGh4UKTUTvXPggA8v2glewbYx__nlHb6zPo-xQJUu2V69SnP0Dl9F9kya8XNiTY6rNntoGGNgb61NMfhcHhR7q6Y20thy5FFnVFP0lTfdvSeraPdHu5khcRRoEBhW8TPkgfVHqLpYDg-t4CF_O896qYul7zmGE4ThgPcYvhFQcA","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
|
31
|
+
Philip Marie, located in the West Village of NYC, our main dining room is fashioned
|
32
|
+
as an upscale American bistro. The lower level offers a glimpse of the unique
|
33
|
+
style that separates Philip Marie Restaurant from any other historic or American
|
34
|
+
cuisine restaurant in NYC. We pride ourselves in making sure your dining experience
|
35
|
+
is nothing less than exceptional. Our brunch is fantastic!\\n\\nChef John Philip
|
36
|
+
Greco''s inventive American cuisine is a fusion of familiar American tastes
|
37
|
+
and flavors joined with an assortment of various influences associated with
|
38
|
+
fine American cuisine. Meals like Smoked Chicken Gumbo, Grilled Organic New
|
39
|
+
Zealand Mint Glazed Lamb Chops and Pumpkin Fritters with Wet Walnuts are an
|
40
|
+
example of Greco''s creative fusion.\\n\\nGo to www.philipmarie.com to see our
|
41
|
+
daily specials!"},"bullets":["Freshest and highest quality food in NYC","Organic
|
42
|
+
seafood. meats. and wild game","Private dining and wine pairing dinners"],"customer_message_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html#profileTab-owner"},"offers":[],"categories":[{"name_id":11258,"name":"Dine
|
43
|
+
At The Bar","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
44
|
+
Special Features"}]},{"name_id":11099,"name":"Martinis","parent_id":1686,"parent":"Bars
|
45
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
46
|
+
Features"}]},{"name_id":11190,"name":"Traditional American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11228,"name":"Seafood","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11294,"name":"Notable
|
47
|
+
Wine List","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
48
|
+
Special Features"}]},{"name_id":11293,"name":"Notable Chef","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
49
|
+
Special Features"}]},{"name_id":11296,"name":"Outdoor Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
50
|
+
Special Features"}]},{"name_id":11295,"name":"Online Reservations","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
51
|
+
Special Features"}]},{"name_id":1724,"name":"Barbecue Restaurants","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[]},{"name_id":1722,"name":"Restaurants","parent_id":1684,"parent":"Food
|
52
|
+
& Dining","primary":true,"groups":[]},{"name_id":11324,"name":"Upscale Casual
|
53
|
+
Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
54
|
+
Special Features"}]},{"name_id":11248,"name":"Celeb Hangout","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
55
|
+
Special Features"}]},{"name_id":11238,"name":"Bar Scene","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
56
|
+
Special Features"}]},{"name_id":11247,"name":"Carry Out","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
57
|
+
Special Features"}]},{"name_id":12821,"name":"Casual Date Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
58
|
+
Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
59
|
+
Special Features"}]},{"name_id":12822,"name":"Dining Discounts","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
60
|
+
Special Features"}]},{"name_id":11243,"name":"Business Breakfast","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
61
|
+
Special Features"}]},{"name_id":11232,"name":"$$","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":147,"name":"Restaurant
|
62
|
+
Meal Price"}]},{"name_id":12824,"name":"Margaritas","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
63
|
+
Special Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
|
64
|
+
Day Events","primary":false,"groups":[]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
|
65
|
+
Stores","primary":false,"groups":[{"group_id":145,"name":"Liquor Store Special
|
66
|
+
Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
67
|
+
Special Features"}]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
|
68
|
+
Favorite","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
69
|
+
Special Features"}]},{"name_id":11283,"name":"Live Music","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
70
|
+
Special Features"}]},{"name_id":11382,"name":"Visa","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
71
|
+
Methods"}]},{"name_id":11240,"name":"Brunch","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
72
|
+
Special Features"}]},{"name_id":11333,"name":"American Express","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
73
|
+
Methods"}]},{"name_id":11086,"name":"Drink Specials","parent_id":1686,"parent":"Bars
|
74
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
75
|
+
Features"}]},{"name_id":11200,"name":"Health Food","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":12839,"name":"Chicken","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11100,"name":"Mojitos","parent_id":1686,"parent":"Bars
|
76
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
77
|
+
Features"}]},{"name_id":1704,"name":"Wine Bars","parent_id":1686,"parent":"Bars
|
78
|
+
& Pubs","primary":false,"groups":[]},{"name_id":1698,"name":"Neighborhood Bars","parent_id":1686,"parent":"Bars
|
79
|
+
& Pubs","primary":false,"groups":[]},{"name_id":11304,"name":"Private Rooms","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
80
|
+
Special Features"}]},{"name_id":11303,"name":"Private Parties","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
81
|
+
Special Features"}]},{"name_id":11349,"name":"Discover","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
82
|
+
Methods"}]},{"name_id":11348,"name":"Diners Club","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
83
|
+
Methods"}]},{"name_id":11272,"name":"Hidden Find","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
84
|
+
Special Features"}]},{"name_id":11305,"name":"Prix Fixe Menu","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
85
|
+
Special Features"}]},{"name_id":11273,"name":"Historic Setting","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
86
|
+
Special Features"}]},{"name_id":11307,"name":"Romantic Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
87
|
+
Special Features"}]},{"name_id":11267,"name":"Food Delivery","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
88
|
+
Special Features"}]},{"name_id":11265,"name":"Fine Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
89
|
+
Special Features"}]},{"name_id":10035,"name":"Live Music","parent_id":164,"parent":"Bars
|
90
|
+
& Clubs","primary":false,"groups":[{"group_id":11,"name":"Bar & Club Special
|
91
|
+
Features"}]},{"name_id":11065,"name":"Bar Menu","parent_id":1686,"parent":"Bars
|
92
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
93
|
+
Features"}]},{"name_id":11269,"name":"Group Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
94
|
+
Special Features"}]},{"name_id":1065,"name":"Memorial Day Events","parent_id":1024,"parent":"Holiday
|
95
|
+
Events","primary":false,"groups":[]},{"name_id":11315,"name":"Special Occasion
|
96
|
+
Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
97
|
+
Special Features"}]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
98
|
+
Methods"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
99
|
+
Special Features"}]},{"name_id":11263,"name":"Family-Friendly Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
100
|
+
Special Features"}]}],"attributes":[{"attribute_id":null,"name":"Services","value":"Booking
|
101
|
+
Advisable"},{"attribute_id":null,"name":"Cards Accepted","value":"visa"},{"attribute_id":null,"name":"Cards
|
102
|
+
Accepted","value":"amex"},{"attribute_id":null,"name":"Cards Accepted","value":"mastercard"}],"business_hours":"Tue-Thu
|
103
|
+
12pm-11:30pm\nFri 12pm-1am\nSat 10am-1am\nSun 10am-11:30pm","parking":"","tips":[{"tip_name":"Private
|
104
|
+
Rooms","tip_text":"Couples can opt for the most private experience: a room to
|
105
|
+
themselves for two and a half hours, a five course dinner for two (including
|
106
|
+
wine) for $195 per couple."},{"tip_name":"The Extras","tip_text":"Weekly events
|
107
|
+
include Clam Bake Tuesdays, occasional wine tastings and Sunday jazz brunch.
|
108
|
+
Saturdays, get unlimited mimosas with brunch ($16.95)."},{"tip_name":"Know Before
|
109
|
+
You Go","tip_text":"The Tasting Room is a renovated 18th-century farmhouse kitchen
|
110
|
+
with original stone walls, fireplaces and window frames. It can be reserved
|
111
|
+
for parties of four to 20 for customized menu tastings."},{"tip_name":"What
|
112
|
+
to Drink","tip_text":"Along with an extensive wine list, there''s a Martini
|
113
|
+
Madness menu with out-of-this-world cocktails like the Chocolate Raz and Banana
|
114
|
+
Squirt and the Cotton Candy martini."},{"tip_name":"The Extras","tip_text":"Weekly
|
115
|
+
events include Clam Bake Tuesdays, occasional wine tastings and Sunday jazz
|
116
|
+
brunch. Saturdays, get unlimited mimosas with brunch ($17.95)."}],"images":[{"type":"GENERIC_IMAGE","height":null,"width":null,"image_url":"http://wcities.com/img/infoimg/restaurant/restaurant_American_Burgers.png","primary":false,"attribution_source":"wcities.com","attribution_logo":null,"attribution_text":"wcities.com"},{"type":"GENERIC_IMAGE","height":216,"width":252,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2011/8/13/0/aYcBKroK63.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/adTQCdCS10.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/QCDVPsZZ11.jpeg","primary":true,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/msjHfJdJ6.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"WEBSITE_THUMBNAIL","height":120,"width":150,"image_url":"http://images.citysearch.net/assets/imgdb/website_thumbnails/6/26/7117426.png","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":240,"width":320,"image_url":"http://images.citysearch.net/assets/imgdb/profile/fa/82/7117426p1.jpg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":143,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/dXiDWljY249.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":322,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/ExavhKgF259.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"}],"editorials":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","editorial_id":"cg_33701301","editorial_url":"http://newyork.citysearch.com/review/7117426?reviewId=33701301","editorial_title":"An
|
117
|
+
upscale country kitchen with a devoted clientele in the West Village heartland.","editorial_author":"Contributor","editorial_review":"<b>The
|
118
|
+
Scene</b><br>Owner/chef John Philip Greco and his wife Suzanne Marie Lonzar
|
119
|
+
put together their middle names to create the French-sounding moniker for their
|
120
|
+
wholly American restaurant. The space is cozy and welcoming: Large murals…","pros":"","cons":"","editorial_date":"2006-08-11T03:18:12-07:00","review_rating":6.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0}],"years_in_business":null,"last_update_time":"2011-10-21T00:00:00-07:00","public_id":"philip-marie-restaurant-new-york","business_operation_status":"open","review_info":{"overall_review_rating":9,"total_user_reviews":125,"total_user_reviews_shown":3,"reviews":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_479165261","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=479165261","review_title":"food
|
121
|
+
is good ;amazing wine selection for conosuiers","review_author":"kimscott516","review_text":"cuisine
|
122
|
+
was refined and well cultured, the chicken was seasoned vibrantly, but slightly
|
123
|
+
dry from being overcooked. however, me being a somewhat of a wine critic in
|
124
|
+
my personal life, have to say that the selection was one of the most…","pros":"","cons":"","review_date":"2011-12-04T07:33:14-08:00","review_rating":8.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478585621","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478585621","review_title":"Stay
|
125
|
+
Away","review_author":"PanchoD","review_text":"Honestly its not a bad looking
|
126
|
+
place, but behind it all the food does not speak for itself... Mediocre at best
|
127
|
+
and thats being generous... Im not for bashing restaurants but this place is
|
128
|
+
not what it appears to be.. For starters i ordered…","pros":"","cons":"","review_date":"2011-11-03T05:08:03-07:00","review_rating":2.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478375071","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478375071","review_title":"ABSOLUTELY
|
129
|
+
WONDERFUL!!!","review_author":"ladynrg","review_text":"Last week my husband
|
130
|
+
& I had the pleasure of dining in the private Wine Room for 2 at Philip Marie.
|
131
|
+
Our custom tailored 5 course menu was exactly what we were looking for at an
|
132
|
+
unbelievable price. Not only was each item we enjoyed cooked…","pros":"","cons":"","review_date":"2011-10-22T02:11:01-07:00","review_rating":10.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"}]}}]}'
|
133
|
+
http_version: '1.1'
|
@@ -0,0 +1,133 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.citygridmedia.com:80/content/places/v2/detail?client_ip=192.168.0.1&format=json&public_id=philip-marie-restaurant-new-york&publisher=citygrid
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json
|
10
|
+
content-type:
|
11
|
+
- Application/JSON
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
date:
|
18
|
+
- Fri, 30 Dec 2011 01:06:17 GMT
|
19
|
+
server:
|
20
|
+
- Apache-Coyote/1.1
|
21
|
+
content-type:
|
22
|
+
- application/json
|
23
|
+
vary:
|
24
|
+
- Accept-Encoding
|
25
|
+
transfer-encoding:
|
26
|
+
- chunked
|
27
|
+
body: ! '{"locations":[{"id":7117426,"reference_id":"1","impression_id":"0009000000df255cf4f648468581ab57e3c919b71e","display_ad":false,"infousa_id":508613312,"name":"Philip
|
28
|
+
Marie Restaurant","teaser":null,"address":{"street":"569 Hudson Street","delivery_point":null,"city":"New
|
29
|
+
York","state":"NY","postal_code":"10014","cross_street":"W 11th Street","latitude":40.735910,"longitude":-74.005940},"contact_info":{"display_phone":"2122426200","display_url":"http://www.philipmarie.com","social_media":{"twitter_username":{"image_icon":null,"text":"philipmarie","url":null},"facebook_fanpage":{"image_icon":null,"text":"philipmarienyc?ref=ts#!pagesPhilip-Marie-Restaurant136344239721051","url":null}}},"markets":["New
|
30
|
+
York, NY Metro"],"neighborhoods":["West Village","Downtown"],"urls":{"profile_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html","reviews_url":"http://www.citysearch.com/review/7117426","video_url":null,"website_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqHCSHTWWqqpiUFE37OfVvOS1dvm1TGN35zIlLdjDlmLJMzgHaA_hF40a2FiH2wUsba1Ddc1BEcYolVEXmdG9NrPIDt_JNbCaAf1kaYQYoiMSB9wjKnNLFxZqslrLuzx9QdyQdZUnFDFrWvPo8EBXrbh-3InosGrCy5CXa4SBEKxni9xBDMjcNH0nrsRBnJDgU6q-2BPdSlrcTzW_Z8uS5wpQ75kkabvABqwytsx4zORYxOdeJdlG_l8MdkpY3VW3WsuLT7l6oQM6HR8a7MGJ1omMBsgdzDlaSHkmQomD8Hf63BRPW6aNR-9_rgdgk9nBF2VTWsTAbUME4lUwxrKAdDXonmlJAzR43w","menu_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvne9EXlpV4zuxiZCUUPQTt3dJXfuAq2xw-1ky1Hr8QDm_tkbi14Jc1JqoYDNmKG_Tp274YGz3T_atrkhGnD-8wSboC-FG1T68OBSB-mpj7imOs2feexSf5tmQyrmXpgqqkvMfIbkGfDvs0aaafXEZmU7u7tPeO8UT_WkmJOGnC0pXEt7Z9pE_BwVZRdsJnvDFTy6v8r-Hn-0xwnwD_nRwE0m9dS4R71Fu0wPCBCoELjlc4QFG7uveQg4ZZ6R-2Iww0jvIuSC5KdvgxqgvhbwqYgb9S3XiBOsLTexqt1c9plHmh7nwZVCvJywKThB_xLgnRsQNHHKGVtFo7aEqvF5U7lNcg1-iutOhhabNQWNczWMsxC9bauEo-9A","reservation_url":"http://pfpc.citygridmedia.com/content/places/v2/click?q=Eg5LbGeFZEmz9alMRG3UqDvpvBTRaDvngS7pST9QDCo0vDVrAHdLCfltd4H5A7GHPMknNycX67o9spbXDeFDtROovE0g4AdYKV0Rj6P3jsdxs--_S47Uu3NOLjSzoAdNsgGOCPovb70orJdWxR9-jtfjsQBFj78JShUfmbsQGzZLACas1DAYuiN6aAwZO0mDsKhihfIwjTglCU3FwTT9Jt4REb5YGjAQC5o9boobXpz2K2NPnzQ2LlmesKEYYxtfmWkJiqkEX-oFAmwudeRZDVp1gaq_IZroxgdHm2l6pWEtAeHYQThgezf0FcaTsONJ1v5Bv8q4IH9AtIBQKSj3FCtPzUwLEiBs9m6mSnfpnMq7qIO-B1tzPc9uA4mwb1rXvlA3X1U7T_rcAL6yDdMXtlWdtaF_v0bs2YVIWw49xWI0FhsL4lf0ng","map_url":"http://www.citysearch.com/profile/map/7117426/new_york_ny/philip_marie_restaurant.html","send_to_friend_url":"http://www.citysearch.com/profile/sendto/7117426/new_york_ny/philip_marie_restaurant.html","email_link":"http://www.citysearch.com/profile/email_business/7117426/new_york_ny/philip_marie_restaurant.html","custom_link_1":null,"custom_link_2":null,"web_comment_url":null,"web_article_url":null,"web_profile_url":null,"web_rates_url":null,"gift_url":null,"request_quote_url":null,"virtual_tour_url":null,"book_limo_url":null,"order_url":null,"custom_link_3":null,"custom_link_4":null},"customer_content":{"customer_message":{"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch","value":"At
|
31
|
+
Philip Marie, located in the West Village of NYC, our main dining room is fashioned
|
32
|
+
as an upscale American bistro. The lower level offers a glimpse of the unique
|
33
|
+
style that separates Philip Marie Restaurant from any other historic or American
|
34
|
+
cuisine restaurant in NYC. We pride ourselves in making sure your dining experience
|
35
|
+
is nothing less than exceptional. Our brunch is fantastic!\\n\\nChef John Philip
|
36
|
+
Greco''s inventive American cuisine is a fusion of familiar American tastes
|
37
|
+
and flavors joined with an assortment of various influences associated with
|
38
|
+
fine American cuisine. Meals like Smoked Chicken Gumbo, Grilled Organic New
|
39
|
+
Zealand Mint Glazed Lamb Chops and Pumpkin Fritters with Wet Walnuts are an
|
40
|
+
example of Greco''s creative fusion.\\n\\nGo to www.philipmarie.com to see our
|
41
|
+
daily specials!"},"bullets":["Freshest and highest quality food in NYC","Organic
|
42
|
+
seafood. meats. and wild game","Private dining and wine pairing dinners"],"customer_message_url":"http://www.citysearch.com/profile/7117426/new_york_ny/philip_marie_restaurant.html#profileTab-owner"},"offers":[],"categories":[{"name_id":11258,"name":"Dine
|
43
|
+
At The Bar","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
44
|
+
Special Features"}]},{"name_id":11099,"name":"Martinis","parent_id":1686,"parent":"Bars
|
45
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
46
|
+
Features"}]},{"name_id":11190,"name":"Traditional American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11228,"name":"Seafood","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11294,"name":"Notable
|
47
|
+
Wine List","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
48
|
+
Special Features"}]},{"name_id":11293,"name":"Notable Chef","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
49
|
+
Special Features"}]},{"name_id":11296,"name":"Outdoor Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
50
|
+
Special Features"}]},{"name_id":11295,"name":"Online Reservations","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
51
|
+
Special Features"}]},{"name_id":1724,"name":"Barbecue Restaurants","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[]},{"name_id":1722,"name":"Restaurants","parent_id":1684,"parent":"Food
|
52
|
+
& Dining","primary":true,"groups":[]},{"name_id":11324,"name":"Upscale Casual
|
53
|
+
Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
54
|
+
Special Features"}]},{"name_id":11248,"name":"Celeb Hangout","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
55
|
+
Special Features"}]},{"name_id":11238,"name":"Bar Scene","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
56
|
+
Special Features"}]},{"name_id":11247,"name":"Carry Out","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
57
|
+
Special Features"}]},{"name_id":12821,"name":"Casual Date Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
58
|
+
Special Features"}]},{"name_id":11244,"name":"Business Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
59
|
+
Special Features"}]},{"name_id":12822,"name":"Dining Discounts","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
60
|
+
Special Features"}]},{"name_id":11243,"name":"Business Breakfast","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
61
|
+
Special Features"}]},{"name_id":11232,"name":"$$","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":147,"name":"Restaurant
|
62
|
+
Meal Price"}]},{"name_id":12824,"name":"Margaritas","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
63
|
+
Special Features"}]},{"name_id":1086,"name":"Thanksgiving Dinners","parent_id":1085,"parent":"Thanksgiving
|
64
|
+
Day Events","primary":false,"groups":[]},{"name_id":11184,"name":"Wine Tasting","parent_id":1720,"parent":"Liquor
|
65
|
+
Stores","primary":false,"groups":[{"group_id":145,"name":"Liquor Store Special
|
66
|
+
Features"}]},{"name_id":11286,"name":"Lunch Spot","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
67
|
+
Special Features"}]},{"name_id":11189,"name":"New American","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11284,"name":"Local
|
68
|
+
Favorite","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
69
|
+
Special Features"}]},{"name_id":11283,"name":"Live Music","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
70
|
+
Special Features"}]},{"name_id":11382,"name":"Visa","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
71
|
+
Methods"}]},{"name_id":11240,"name":"Brunch","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
72
|
+
Special Features"}]},{"name_id":11333,"name":"American Express","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
73
|
+
Methods"}]},{"name_id":11086,"name":"Drink Specials","parent_id":1686,"parent":"Bars
|
74
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
75
|
+
Features"}]},{"name_id":11200,"name":"Health Food","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":12839,"name":"Chicken","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":146,"name":"Cuisine"}]},{"name_id":11100,"name":"Mojitos","parent_id":1686,"parent":"Bars
|
76
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
77
|
+
Features"}]},{"name_id":1704,"name":"Wine Bars","parent_id":1686,"parent":"Bars
|
78
|
+
& Pubs","primary":false,"groups":[]},{"name_id":1698,"name":"Neighborhood Bars","parent_id":1686,"parent":"Bars
|
79
|
+
& Pubs","primary":false,"groups":[]},{"name_id":11304,"name":"Private Rooms","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
80
|
+
Special Features"}]},{"name_id":11303,"name":"Private Parties","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
81
|
+
Special Features"}]},{"name_id":11349,"name":"Discover","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
82
|
+
Methods"}]},{"name_id":11348,"name":"Diners Club","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
83
|
+
Methods"}]},{"name_id":11272,"name":"Hidden Find","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
84
|
+
Special Features"}]},{"name_id":11305,"name":"Prix Fixe Menu","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
85
|
+
Special Features"}]},{"name_id":11273,"name":"Historic Setting","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
86
|
+
Special Features"}]},{"name_id":11307,"name":"Romantic Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
87
|
+
Special Features"}]},{"name_id":11267,"name":"Food Delivery","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
88
|
+
Special Features"}]},{"name_id":11265,"name":"Fine Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
89
|
+
Special Features"}]},{"name_id":10035,"name":"Live Music","parent_id":164,"parent":"Bars
|
90
|
+
& Clubs","primary":false,"groups":[{"group_id":11,"name":"Bar & Club Special
|
91
|
+
Features"}]},{"name_id":11065,"name":"Bar Menu","parent_id":1686,"parent":"Bars
|
92
|
+
& Pubs","primary":false,"groups":[{"group_id":133,"name":"Bar & Pub Special
|
93
|
+
Features"}]},{"name_id":11269,"name":"Group Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
94
|
+
Special Features"}]},{"name_id":1065,"name":"Memorial Day Events","parent_id":1024,"parent":"Holiday
|
95
|
+
Events","primary":false,"groups":[]},{"name_id":11315,"name":"Special Occasion
|
96
|
+
Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
97
|
+
Special Features"}]},{"name_id":11361,"name":"MasterCard","parent_id":1738,"parent":"Global","primary":false,"groups":[{"group_id":152,"name":"Payment
|
98
|
+
Methods"}]},{"name_id":11262,"name":"Family Style Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
99
|
+
Special Features"}]},{"name_id":11263,"name":"Family-Friendly Dining","parent_id":1722,"parent":"Restaurants","primary":false,"groups":[{"group_id":148,"name":"Restaurant
|
100
|
+
Special Features"}]}],"attributes":[{"attribute_id":null,"name":"Services","value":"Booking
|
101
|
+
Advisable"},{"attribute_id":null,"name":"Cards Accepted","value":"visa"},{"attribute_id":null,"name":"Cards
|
102
|
+
Accepted","value":"amex"},{"attribute_id":null,"name":"Cards Accepted","value":"mastercard"}],"business_hours":"Tue-Thu
|
103
|
+
12pm-11:30pm\nFri 12pm-1am\nSat 10am-1am\nSun 10am-11:30pm","parking":"","tips":[{"tip_name":"Private
|
104
|
+
Rooms","tip_text":"Couples can opt for the most private experience: a room to
|
105
|
+
themselves for two and a half hours, a five course dinner for two (including
|
106
|
+
wine) for $195 per couple."},{"tip_name":"The Extras","tip_text":"Weekly events
|
107
|
+
include Clam Bake Tuesdays, occasional wine tastings and Sunday jazz brunch.
|
108
|
+
Saturdays, get unlimited mimosas with brunch ($16.95)."},{"tip_name":"Know Before
|
109
|
+
You Go","tip_text":"The Tasting Room is a renovated 18th-century farmhouse kitchen
|
110
|
+
with original stone walls, fireplaces and window frames. It can be reserved
|
111
|
+
for parties of four to 20 for customized menu tastings."},{"tip_name":"What
|
112
|
+
to Drink","tip_text":"Along with an extensive wine list, there''s a Martini
|
113
|
+
Madness menu with out-of-this-world cocktails like the Chocolate Raz and Banana
|
114
|
+
Squirt and the Cotton Candy martini."},{"tip_name":"The Extras","tip_text":"Weekly
|
115
|
+
events include Clam Bake Tuesdays, occasional wine tastings and Sunday jazz
|
116
|
+
brunch. Saturdays, get unlimited mimosas with brunch ($17.95)."}],"images":[{"type":"GENERIC_IMAGE","height":null,"width":null,"image_url":"http://wcities.com/img/infoimg/restaurant/restaurant_American_Burgers.png","primary":false,"attribution_source":"wcities.com","attribution_logo":null,"attribution_text":"wcities.com"},{"type":"GENERIC_IMAGE","height":216,"width":252,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2011/8/13/0/aYcBKroK63.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/adTQCdCS10.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/QCDVPsZZ11.jpeg","primary":true,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":384,"image_url":"http://images.citysearch.net/assets/imgdb/merchant/2010/3/10/0/msjHfJdJ6.jpeg","primary":false,"attribution_source":"CUSTOMER","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"WEBSITE_THUMBNAIL","height":120,"width":150,"image_url":"http://images.citysearch.net/assets/imgdb/website_thumbnails/6/26/7117426.png","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":240,"width":320,"image_url":"http://images.citysearch.net/assets/imgdb/profile/fa/82/7117426p1.jpg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":143,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/dXiDWljY249.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"},{"type":"GENERIC_IMAGE","height":216,"width":322,"image_url":"http://images.citysearch.net/assets/imgdb/guide/2010/6/15/0/ExavhKgF259.jpeg","primary":false,"attribution_source":"CITYSEARCH","attribution_logo":"http://images.citysearch.net/assets/imgdb/custom/ue-357/CS_logo88x31.jpg","attribution_text":"Citysearch"}],"editorials":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","editorial_id":"cg_33701301","editorial_url":"http://newyork.citysearch.com/review/7117426?reviewId=33701301","editorial_title":"An
|
117
|
+
upscale country kitchen with a devoted clientele in the West Village heartland.","editorial_author":"Contributor","editorial_review":"<b>The
|
118
|
+
Scene</b><br>Owner/chef John Philip Greco and his wife Suzanne Marie Lonzar
|
119
|
+
put together their middle names to create the French-sounding moniker for their
|
120
|
+
wholly American restaurant. The space is cozy and welcoming: Large murals…","pros":"","cons":"","editorial_date":"2006-08-11T03:18:12-07:00","review_rating":6.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0}],"years_in_business":null,"last_update_time":"2011-10-21T00:00:00-07:00","public_id":"philip-marie-restaurant-new-york","business_operation_status":"open","review_info":{"overall_review_rating":9,"total_user_reviews":125,"total_user_reviews_shown":3,"reviews":[{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_479165261","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=479165261","review_title":"food
|
121
|
+
is good ;amazing wine selection for conosuiers","review_author":"kimscott516","review_text":"cuisine
|
122
|
+
was refined and well cultured, the chicken was seasoned vibrantly, but slightly
|
123
|
+
dry from being overcooked. however, me being a somewhat of a wine critic in
|
124
|
+
my personal life, have to say that the selection was one of the most…","pros":"","cons":"","review_date":"2011-12-04T07:33:14-08:00","review_rating":8.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478585621","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478585621","review_title":"Stay
|
125
|
+
Away","review_author":"PanchoD","review_text":"Honestly its not a bad looking
|
126
|
+
place, but behind it all the food does not speak for itself... Mediocre at best
|
127
|
+
and thats being generous... Im not for bashing restaurants but this place is
|
128
|
+
not what it appears to be.. For starters i ordered…","pros":"","cons":"","review_date":"2011-11-03T05:08:03-07:00","review_rating":2.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"},{"attribution_source":null,"attribution_logo":"","attribution_text":"Citysearch","review_id":"cg_478375071","review_url":"http://newyork.citysearch.com/review/7117426?reviewId=478375071","review_title":"ABSOLUTELY
|
129
|
+
WONDERFUL!!!","review_author":"ladynrg","review_text":"Last week my husband
|
130
|
+
& I had the pleasure of dining in the private Wine Room for 2 at Philip Marie.
|
131
|
+
Our custom tailored 5 course menu was exactly what we were looking for at an
|
132
|
+
unbelievable price. Not only was each item we enjoyed cooked…","pros":"","cons":"","review_date":"2011-10-22T02:11:01-07:00","review_rating":10.0,"helpfulness_total_count":0,"helpful_count":0,"unhelpful_count":0,"review_type":"user_review"}]}}]}'
|
133
|
+
http_version: '1.1'
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://api-qassl.citygrid.com:443/accounts/mop/v2/mutate
|
6
|
+
body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"cardNumber":"4112344112344113","expirationMonth":12,"expirationYear":2012,"nameOnAccount":"Ara
|
7
|
+
Tatous","cardType":"Visa","state":"NY","description":"test addMOP","firstName":"Ara","lastName":"Tatous","phoneNumber":"4252838811","address1":"3131
|
8
|
+
Montrose Ave","address2":"Apt. 9","city":"LaCrescenta","postalCode":"10016","accountId":2458392,"securityCode":"719","paymentType":"Credit
|
9
|
+
Card"}}]}'
|
10
|
+
headers:
|
11
|
+
accept:
|
12
|
+
- application/json
|
13
|
+
content-type:
|
14
|
+
- Application/JSON
|
15
|
+
authtoken:
|
16
|
+
- 93920c4e2a1a93900685eef9f55bfb01
|
17
|
+
response: !ruby/struct:VCR::Response
|
18
|
+
status: !ruby/struct:VCR::ResponseStatus
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
date:
|
23
|
+
- Fri, 30 Dec 2011 01:05:58 GMT
|
24
|
+
server:
|
25
|
+
- Apache-Coyote/1.1
|
26
|
+
content-type:
|
27
|
+
- application/json
|
28
|
+
vary:
|
29
|
+
- Accept-Encoding
|
30
|
+
transfer-encoding:
|
31
|
+
- chunked
|
32
|
+
body: ! '{"resources":[{"id":395032,"response":{"message":"OK","code":200}}]}'
|
33
|
+
http_version: '1.1'
|
@@ -0,0 +1,59 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: https://api-qassl.citygrid.com:443/accounts/user/v2/login?password=pppppp&username=kunimom
|
6
|
+
body: !!null
|
7
|
+
headers: !!null
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
date:
|
14
|
+
- Fri, 30 Dec 2011 01:05:56 GMT
|
15
|
+
server:
|
16
|
+
- Apache-Coyote/1.1
|
17
|
+
content-type:
|
18
|
+
- application/json
|
19
|
+
vary:
|
20
|
+
- Accept-Encoding
|
21
|
+
transfer-encoding:
|
22
|
+
- chunked
|
23
|
+
body: ! '{"code":201,"authToken":"93920c4e2a1a93900685eef9f55bfb01"}'
|
24
|
+
http_version: '1.1'
|
25
|
+
- !ruby/struct:VCR::HTTPInteraction
|
26
|
+
request: !ruby/struct:VCR::Request
|
27
|
+
method: :get
|
28
|
+
uri: https://api-qassl.citygrid.com:443/accounts/mop/v2/get?accountId=111
|
29
|
+
body: !!null
|
30
|
+
headers:
|
31
|
+
accept:
|
32
|
+
- application/json
|
33
|
+
content-type:
|
34
|
+
- Application/JSON
|
35
|
+
authtoken:
|
36
|
+
- 93920c4e2a1a93900685eef9f55bfb01
|
37
|
+
response: !ruby/struct:VCR::Response
|
38
|
+
status: !ruby/struct:VCR::ResponseStatus
|
39
|
+
code: 200
|
40
|
+
message: OK
|
41
|
+
headers:
|
42
|
+
date:
|
43
|
+
- Fri, 30 Dec 2011 01:05:57 GMT
|
44
|
+
server:
|
45
|
+
- Apache-Coyote/1.1
|
46
|
+
content-type:
|
47
|
+
- application/json
|
48
|
+
vary:
|
49
|
+
- Accept-Encoding
|
50
|
+
transfer-encoding:
|
51
|
+
- chunked
|
52
|
+
body: ! '{"totalNumEntries":2,"mopResources":[{"paymentType":"ACH","accountNumber":"[locked]d6EEySDBLAR+RA==","routingNumber":"031200730","id":13351,"state":"TX","country":"united
|
53
|
+
states","description":null,"active":false,"firstName":"Mary","lastName":"Martinez","phoneNumber":"(512)478-9222","address1":"1300
|
54
|
+
Belonia Terrace","city":"Austin","postalCode":"78741","address2":null,"accountId":111,"securityCode":null,"paymentType":"ACH","nameOnAccount":"Enchiladas
|
55
|
+
Y Mas, Inc."},{"paymentType":"Check","id":12211,"state":"TX","country":"united
|
56
|
+
states","description":null,"active":true,"firstName":"Mary","lastName":"Martinez","phoneNumber":"(512)478-9222","address1":"1300
|
57
|
+
Belonia Terrace","city":"Austin","postalCode":"78741","address2":null,"accountId":111,"securityCode":null,"paymentType":"Check","nameOnAccount":"Enchiladas
|
58
|
+
Y Mas, Inc."}],"response":{"message":"OK","code":200}}'
|
59
|
+
http_version: '1.1'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :post
|
5
|
+
uri: http://api.qa.citygrid.com:80/advertising/adgroupad/v2/mutate
|
6
|
+
body: ! '{"mutateOperationListResource":[{"operator":"ADD","operand":{"groupId":"2861","ad":{"type":"PERFORMANCE_AD","tagline":"myTagline","imageUrl":"http://some_url.com"}}}]}'
|
7
|
+
headers:
|
8
|
+
accept:
|
9
|
+
- application/json
|
10
|
+
content-type:
|
11
|
+
- Application/JSON
|
12
|
+
authtoken:
|
13
|
+
- 563da3d1cfa3a8e75f6a09e89f542d67
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
date:
|
20
|
+
- Fri, 30 Dec 2011 01:06:01 GMT
|
21
|
+
server:
|
22
|
+
- Apache-Coyote/1.1
|
23
|
+
content-type:
|
24
|
+
- application/json
|
25
|
+
vary:
|
26
|
+
- Accept-Encoding
|
27
|
+
transfer-encoding:
|
28
|
+
- chunked
|
29
|
+
body: ! '{"adGroupAds":[{"adGroupId":"2861","id":"89355272","adType":"PERFORMANCE_AD","status":"ACTIVE","tagline":"myTagline","imageUrl":"http://some_url.com","response":{"message":"OK","code":200}}]}'
|
30
|
+
http_version: '1.1'
|