google_places 0.26.0 → 0.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/google_places.gemspec +1 -1
- data/lib/google_places/spot.rb +1 -1
- data/spec/google_places/spot_spec.rb +23 -0
- data/spec/vcr_cassettes/GooglePlaces_Spot/List_spots_options/should_not_set_radius_to_nil_if_rankby_is_set_to_prominence.yml +606 -0
- data/spec/vcr_cassettes/list_predictions.yml +193 -0
- data/spec/vcr_cassettes/list_spots.yml +1726 -0
- data/spec/vcr_cassettes/list_spots_by_radar.yml +550 -0
- data/spec/vcr_cassettes/list_spots_rankby_and_radius.yml +606 -0
- data/spec/vcr_cassettes/list_spots_with_multiple_types.yml +646 -0
- data/spec/vcr_cassettes/list_spots_with_name_and_types.yml +117 -0
- data/spec/vcr_cassettes/list_spots_with_single_type.yml +382 -0
- data/spec/vcr_cassettes/list_spots_with_types_and_exclusion.yml +646 -0
- data/spec/vcr_cassettes/multiple_page_request.yml +2161 -0
- data/spec/vcr_cassettes/photo.yml +41 -0
- data/spec/vcr_cassettes/single_spot.yml +709 -0
- metadata +18 -14
@@ -531,4 +531,121 @@ http_interactions:
|
|
531
531
|
}
|
532
532
|
http_version:
|
533
533
|
recorded_at: Tue, 14 Oct 2014 21:09:03 GMT
|
534
|
+
- request:
|
535
|
+
method: get
|
536
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
537
|
+
body:
|
538
|
+
encoding: US-ASCII
|
539
|
+
string: ''
|
540
|
+
headers: {}
|
541
|
+
response:
|
542
|
+
status:
|
543
|
+
code: 200
|
544
|
+
message: OK
|
545
|
+
headers:
|
546
|
+
Content-Type:
|
547
|
+
- application/json; charset=UTF-8
|
548
|
+
Date:
|
549
|
+
- Sat, 01 Nov 2014 22:54:28 GMT
|
550
|
+
Expires:
|
551
|
+
- Sat, 01 Nov 2014 22:59:28 GMT
|
552
|
+
Cache-Control:
|
553
|
+
- public, max-age=300
|
554
|
+
Vary:
|
555
|
+
- Accept-Language
|
556
|
+
Server:
|
557
|
+
- mafe
|
558
|
+
X-Xss-Protection:
|
559
|
+
- 1; mode=block
|
560
|
+
X-Frame-Options:
|
561
|
+
- SAMEORIGIN
|
562
|
+
Alternate-Protocol:
|
563
|
+
- 443:quic,p=0.01
|
564
|
+
Transfer-Encoding:
|
565
|
+
- chunked
|
566
|
+
body:
|
567
|
+
encoding: UTF-8
|
568
|
+
string: |
|
569
|
+
{
|
570
|
+
"html_attributions" : [],
|
571
|
+
"results" : [
|
572
|
+
{
|
573
|
+
"geometry" : {
|
574
|
+
"location" : {
|
575
|
+
"lat" : -33.866669,
|
576
|
+
"lng" : 151.192282
|
577
|
+
}
|
578
|
+
},
|
579
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
580
|
+
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
581
|
+
"name" : "Raffinato Italian Restaurant",
|
582
|
+
"place_id" : "ChIJIRtr0TWuEmsRq_tQAbxShPg",
|
583
|
+
"reference" : "CoQBfgAAABMk33ITLPKhcuDkvnrs7RPG78XWrDFor_w1aruR06ZZx725RmpRJtngksspK4mykKGB0NJ12_hofUpLA39RaMof_82ErSVK-4Q0CB1EysCycUR-NRmLp8bmrD5vQYaAw6disUsKgjgLv2tjclCeASRHN1n8r0ERUFjqnONcIlxuEhANrmfMbWZ6NuELw7ptnR1SGhTtt1lkKYCtCsyQrXnGPXScsYhP2g",
|
584
|
+
"scope" : "GOOGLE",
|
585
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
586
|
+
"vicinity" : "46 Harris St, Pyrmont"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"geometry" : {
|
590
|
+
"location" : {
|
591
|
+
"lat" : -33.86771,
|
592
|
+
"lng" : 151.191917
|
593
|
+
}
|
594
|
+
},
|
595
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
596
|
+
"id" : "2e2a9c116f1110a816d6f78585018c73663218d4",
|
597
|
+
"name" : "Italian Kitchen Express",
|
598
|
+
"place_id" : "ChIJN97jOjSuEmsRQN_2Q36vGbY",
|
599
|
+
"reference" : "CoQBeQAAABRHs1AbNPYgFgKyRsOrAB2UWKhEjHFngEL_IqswazgfzZPUEkvfkIpt7-ppc54pEPdmlcvB2f7mwGtQOmLRQfib-Ende-4X5TCEFY6thRPrJVT5-QLeA9fW_qLU9UQmVyZqsgkw7aDo19fDbDD1WcoM_830qmejYkxBgOok4EUgEhC-MpBYaFdgmLsKg_UPViGJGhSikUsec9dgHRIiBZBFhqEahopYxA",
|
600
|
+
"scope" : "GOOGLE",
|
601
|
+
"types" : [ "restaurant", "home_goods_store", "store", "food", "establishment" ],
|
602
|
+
"vicinity" : "6/45-55 Harris St, Pyrmont"
|
603
|
+
}
|
604
|
+
],
|
605
|
+
"status" : "OK"
|
606
|
+
}
|
607
|
+
http_version:
|
608
|
+
recorded_at: Sat, 01 Nov 2014 22:54:28 GMT
|
609
|
+
- request:
|
610
|
+
method: get
|
611
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=&rankby=&types=food%7Cestablishment
|
612
|
+
body:
|
613
|
+
encoding: US-ASCII
|
614
|
+
string: ''
|
615
|
+
headers: {}
|
616
|
+
response:
|
617
|
+
status:
|
618
|
+
code: 200
|
619
|
+
message: OK
|
620
|
+
headers:
|
621
|
+
Content-Type:
|
622
|
+
- application/json; charset=UTF-8
|
623
|
+
Date:
|
624
|
+
- Sat, 01 Nov 2014 22:56:33 GMT
|
625
|
+
Expires:
|
626
|
+
- Sat, 01 Nov 2014 23:01:33 GMT
|
627
|
+
Cache-Control:
|
628
|
+
- public, max-age=300
|
629
|
+
Vary:
|
630
|
+
- Accept-Language
|
631
|
+
Server:
|
632
|
+
- mafe
|
633
|
+
X-Xss-Protection:
|
634
|
+
- 1; mode=block
|
635
|
+
X-Frame-Options:
|
636
|
+
- SAMEORIGIN
|
637
|
+
Alternate-Protocol:
|
638
|
+
- 443:quic,p=0.01
|
639
|
+
Transfer-Encoding:
|
640
|
+
- chunked
|
641
|
+
body:
|
642
|
+
encoding: UTF-8
|
643
|
+
string: |
|
644
|
+
{
|
645
|
+
"html_attributions" : [],
|
646
|
+
"results" : [],
|
647
|
+
"status" : "INVALID_REQUEST"
|
648
|
+
}
|
649
|
+
http_version:
|
650
|
+
recorded_at: Sat, 01 Nov 2014 22:56:33 GMT
|
534
651
|
recorded_with: VCR 2.9.2
|
@@ -1902,4 +1902,386 @@ http_interactions:
|
|
1902
1902
|
}
|
1903
1903
|
http_version:
|
1904
1904
|
recorded_at: Tue, 14 Oct 2014 21:09:02 GMT
|
1905
|
+
- request:
|
1906
|
+
method: get
|
1907
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=&radius=200&rankby=&types=cafe
|
1908
|
+
body:
|
1909
|
+
encoding: US-ASCII
|
1910
|
+
string: ''
|
1911
|
+
headers: {}
|
1912
|
+
response:
|
1913
|
+
status:
|
1914
|
+
code: 200
|
1915
|
+
message: OK
|
1916
|
+
headers:
|
1917
|
+
Content-Type:
|
1918
|
+
- application/json; charset=UTF-8
|
1919
|
+
Date:
|
1920
|
+
- Sat, 01 Nov 2014 22:54:27 GMT
|
1921
|
+
Expires:
|
1922
|
+
- Sat, 01 Nov 2014 22:59:27 GMT
|
1923
|
+
Cache-Control:
|
1924
|
+
- public, max-age=300
|
1925
|
+
Vary:
|
1926
|
+
- Accept-Language
|
1927
|
+
Server:
|
1928
|
+
- mafe
|
1929
|
+
X-Xss-Protection:
|
1930
|
+
- 1; mode=block
|
1931
|
+
X-Frame-Options:
|
1932
|
+
- SAMEORIGIN
|
1933
|
+
Alternate-Protocol:
|
1934
|
+
- 443:quic,p=0.01
|
1935
|
+
Transfer-Encoding:
|
1936
|
+
- chunked
|
1937
|
+
body:
|
1938
|
+
encoding: UTF-8
|
1939
|
+
string: |
|
1940
|
+
{
|
1941
|
+
"html_attributions" : [],
|
1942
|
+
"results" : [
|
1943
|
+
{
|
1944
|
+
"geometry" : {
|
1945
|
+
"location" : {
|
1946
|
+
"lat" : -33.868204,
|
1947
|
+
"lng" : 151.194636
|
1948
|
+
}
|
1949
|
+
},
|
1950
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
1951
|
+
"id" : "a6e36e20e63dfff2f8d5ef4dfa7c55f2c32d524c",
|
1952
|
+
"name" : "Adriano Zumbo at the Star",
|
1953
|
+
"opening_hours" : {
|
1954
|
+
"open_now" : false,
|
1955
|
+
"weekday_text" : []
|
1956
|
+
},
|
1957
|
+
"photos" : [
|
1958
|
+
{
|
1959
|
+
"height" : 160,
|
1960
|
+
"html_attributions" : [],
|
1961
|
+
"photo_reference" : "CnRnAAAANDa64aEVUPok2cBCB37di1encMxlJxJ54dLDB0ORBlrQy6IK35S_YS5RWHQhAwoIrFtBGczetY-N1sVAleNT0lyeS4pp1D1rYk_kvOCKoA2lECOgmXsB3NkoJdKTjlSfNsDEgyb5NNhInNo2-zbhsBIQxREa6nxGuCAwWS0J6SiwvBoUda34mS29irypQj_Q2wg3ZNtiu5w",
|
1962
|
+
"width" : 200
|
1963
|
+
}
|
1964
|
+
],
|
1965
|
+
"place_id" : "ChIJ1-v38TauEmsRco4bALTgoMo",
|
1966
|
+
"rating" : 4.3,
|
1967
|
+
"reference" : "CoQBewAAAPj9KtjwJbKybxwi_mF4qHMhCuJ0NwJOCkpwIP5JSWn58fOfx3bko0Ngfu2czXNY0qSxNUDkG19d53pRlQSXtP5KmF3XInWxsxPIJH63nVzP7RUZNkB3tyEPJZMd1bCWUpS9fzZCyDfT5Q4OamNcokUmeDTIoW_fI9CoM7LilFCbEhDjswyGQwCDDsXA2N7H9AQFGhSljVLWNV9LMOhId73V2myol8Ni1w",
|
1968
|
+
"scope" : "GOOGLE",
|
1969
|
+
"types" : [ "bakery", "store", "cafe", "food", "establishment" ],
|
1970
|
+
"vicinity" : "Shop 1, Cafe Court, The Star/80 Pyrmont Street, Pyrmont"
|
1971
|
+
},
|
1972
|
+
{
|
1973
|
+
"geometry" : {
|
1974
|
+
"location" : {
|
1975
|
+
"lat" : -33.867093,
|
1976
|
+
"lng" : 151.195961
|
1977
|
+
}
|
1978
|
+
},
|
1979
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
1980
|
+
"id" : "7eaf747a3f6dc078868cd65efc8d3bc62fff77d7",
|
1981
|
+
"name" : "Biaggio Cafe - Pyrmont",
|
1982
|
+
"opening_hours" : {
|
1983
|
+
"open_now" : true,
|
1984
|
+
"weekday_text" : []
|
1985
|
+
},
|
1986
|
+
"photos" : [
|
1987
|
+
{
|
1988
|
+
"height" : 600,
|
1989
|
+
"html_attributions" : [],
|
1990
|
+
"photo_reference" : "CnRnAAAAgJGubj5ciJOTdiLKVQcp1KKOBiBHwFsYwBDirX5Kkl3527QdBGsnxxWk40R0ugOj52j7VsQLo6dbVFW2CvnyWqkukJGgaakXFabWle66BRuhV7RMvlYn7gYRWYuFumveQKo5s9KBjnM6UB9oMKAovBIQFwLmViCO35xJKIBjavQ_ehoU0abHBgZ7kflcZggxVrShX4SymC0",
|
1991
|
+
"width" : 900
|
1992
|
+
}
|
1993
|
+
],
|
1994
|
+
"place_id" : "ChIJIfBAsjeuEmsRdgu9Pl1Ps48",
|
1995
|
+
"price_level" : 1,
|
1996
|
+
"rating" : 3.3,
|
1997
|
+
"reference" : "CoQBeAAAAN5nksT2Q_bpdlo8TSiyGq8fu8X8Jre7IRfTFQBufUuI_VnlawmDUEJHRBhIq6G-nHsB-xXHUuLbS0_jARLhtpeZZwUE9fWetszCoa6BBM50kCr-IZ5w0yA5nUCOymUb43AzHQmLLnil5taOP-472SK21E_68M7qC8f558hWKPgnEhB8gu6yZ9YAb6oVpNCxJL3fGhRr31r0i0WkBlpat8O_1-TAdUqy7A",
|
1998
|
+
"scope" : "GOOGLE",
|
1999
|
+
"types" : [ "cafe", "bar", "restaurant", "food", "establishment" ],
|
2000
|
+
"vicinity" : "48 Pirrama Road, Pyrmont"
|
2001
|
+
},
|
2002
|
+
{
|
2003
|
+
"geometry" : {
|
2004
|
+
"location" : {
|
2005
|
+
"lat" : -33.868207,
|
2006
|
+
"lng" : 151.194672
|
2007
|
+
}
|
2008
|
+
},
|
2009
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2010
|
+
"id" : "b4a4e9d4f9643172bf1a1899acdb7315dd26c5ba",
|
2011
|
+
"name" : "Antidote",
|
2012
|
+
"opening_hours" : {
|
2013
|
+
"open_now" : false,
|
2014
|
+
"weekday_text" : []
|
2015
|
+
},
|
2016
|
+
"photos" : [
|
2017
|
+
{
|
2018
|
+
"height" : 648,
|
2019
|
+
"html_attributions" : [ "From a Google User" ],
|
2020
|
+
"photo_reference" : "CnRmAAAAn3Jg10x6w_gNUCbxPrQcReECeXoZB8Oc29Sdgt8Y7g9gjhWS77YTCMX9Lv_F_YEU_-cB_ULHm8Wzz036Khv9wILs2vlLYT6SyyDB1zB-N2FrrZwans9WsHrk3ZF8j5n8tMpole5VtrzMiielrkH7SBIQCGfOWRi7HMWI6D94Qw-cERoUctqVHfcXAW6szCFnlOiP8IkioW4",
|
2021
|
+
"width" : 486
|
2022
|
+
}
|
2023
|
+
],
|
2024
|
+
"place_id" : "ChIJ1-v38TauEmsRzUP4C3m6_do",
|
2025
|
+
"rating" : 4.1,
|
2026
|
+
"reference" : "CnRqAAAAeVcLYXD0zuR0ZXHARPJyerItU5uCNeoxt-oFhuB3L-bJRalVcP8k3uZIdy4P2uVYhdbc3-GafC-imhdfR9ulga-Swn3EBRJTRXK3TVXA6vnSNrPO649gJXdTOURBX_vjjzrcAAtV7GMFAlTJeIXwKRIQ4hRbmQRtPev0tya9mlyPexoU3Je3FeIc_D-4MOnumWJz1eEncig",
|
2027
|
+
"scope" : "GOOGLE",
|
2028
|
+
"types" : [ "cafe", "food", "establishment" ],
|
2029
|
+
"vicinity" : "The Star, Pyrmont St, Pyrmont"
|
2030
|
+
},
|
2031
|
+
{
|
2032
|
+
"geometry" : {
|
2033
|
+
"location" : {
|
2034
|
+
"lat" : -33.868077,
|
2035
|
+
"lng" : 151.195221
|
2036
|
+
}
|
2037
|
+
},
|
2038
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2039
|
+
"id" : "0761a21e23eda2598330d428413cb59431316a61",
|
2040
|
+
"name" : "Lobby Lounge",
|
2041
|
+
"opening_hours" : {
|
2042
|
+
"open_now" : true,
|
2043
|
+
"weekday_text" : []
|
2044
|
+
},
|
2045
|
+
"photos" : [
|
2046
|
+
{
|
2047
|
+
"height" : 324,
|
2048
|
+
"html_attributions" : [],
|
2049
|
+
"photo_reference" : "CnRnAAAAe1NRR16etrtKC8KR_K21SqMgS3t78HIg3xuctLcjYLdzINP_VexexuGLF2tEwYFM_SnxqwmhCDBqoqhKqRK3-xapmLUomLh5WV2K7VZQ_jfPFreEw0Uc9UJWX_YrO9qv2YDMYmzSiD2RatFLzb5EAhIQzJBQO42nMzgLQzJkenq84BoUqjNEycpcOUxh-j4dPOaki2Cq7U8",
|
2050
|
+
"width" : 512
|
2051
|
+
}
|
2052
|
+
],
|
2053
|
+
"place_id" : "ChIJ1-v38TauEmsRHbUt24abGq8",
|
2054
|
+
"rating" : 4.2,
|
2055
|
+
"reference" : "CnRuAAAAIaxlQtD1c1wA0JJveGhArKoBP8vmIyI6CMeAthfsVrLU8egraBe6M43P_QOxOuZY8fIjPL4BsqZBXzAtYSzpbapvk6HIipjhLPFoxqcOv5iTNW2qT923YzbIRrIVrL8R5U2c8ZZ4EFXBhROpUWocQhIQLqwSjFK2gCUW3crmsTh-gRoUEWLafutZohjNXah_-EUJZzwgOIU",
|
2056
|
+
"scope" : "GOOGLE",
|
2057
|
+
"types" : [ "cafe", "bar", "food", "establishment" ],
|
2058
|
+
"vicinity" : "80 Pyrmont St, Pyrmont"
|
2059
|
+
},
|
2060
|
+
{
|
2061
|
+
"geometry" : {
|
2062
|
+
"location" : {
|
2063
|
+
"lat" : -33.868283,
|
2064
|
+
"lng" : 151.194422
|
2065
|
+
}
|
2066
|
+
},
|
2067
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2068
|
+
"id" : "5895b175f4c2a8535294f5587fe089fc7d5135ea",
|
2069
|
+
"name" : "Pulse Express",
|
2070
|
+
"opening_hours" : {
|
2071
|
+
"open_now" : false,
|
2072
|
+
"weekday_text" : []
|
2073
|
+
},
|
2074
|
+
"photos" : [
|
2075
|
+
{
|
2076
|
+
"height" : 992,
|
2077
|
+
"html_attributions" : [],
|
2078
|
+
"photo_reference" : "CnRnAAAA4IwWmMGnPc53Lt1ha5A66QIjj7CTz_GAgufrwsEjdNXrxjOfVc9DLPUcbxx4FsdT_J55N12SE2riEr5yYxN7yeWwH_DgEjzyO1tkEhDK__UBUJ5tUGUS0L7-aPuVZkv79poARdNQKGe4stmwaCvLdxIQNWEStalXyqVRikteVWnmzhoULFK-KqAk4cKn2baSFTcpdonkbco",
|
2079
|
+
"width" : 1618
|
2080
|
+
}
|
2081
|
+
],
|
2082
|
+
"place_id" : "ChIJ1-v38TauEmsRJxe1QBBHBGU",
|
2083
|
+
"reference" : "CnRuAAAA_gV66u5qzN_XQjMfNctIAPkhdsfcRQjkpfDB5Fnj3qZ3n9chNN9O4M4qLYartUO55KP38-4DOfh4ZosQdJXheanvmDzZZU3nforARSOSKYZe75Fgl_j9X-KruK9er8UemESL097HZpb2LNexFH4zRBIQMYaY_T63qmgVTkMNhPkugxoUadluxOTBWeJEmFLM6UIk34yNzaA",
|
2084
|
+
"scope" : "GOOGLE",
|
2085
|
+
"types" : [ "cafe", "restaurant", "food", "establishment" ],
|
2086
|
+
"vicinity" : "80 Pyrmont St, Pyrmont"
|
2087
|
+
},
|
2088
|
+
{
|
2089
|
+
"geometry" : {
|
2090
|
+
"location" : {
|
2091
|
+
"lat" : -33.866415,
|
2092
|
+
"lng" : 151.194589
|
2093
|
+
}
|
2094
|
+
},
|
2095
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2096
|
+
"id" : "7501fca2fd726963a0f5b79f8e86a8006b48f968",
|
2097
|
+
"name" : "Astoria Sydney",
|
2098
|
+
"opening_hours" : {
|
2099
|
+
"open_now" : false,
|
2100
|
+
"weekday_text" : []
|
2101
|
+
},
|
2102
|
+
"photos" : [
|
2103
|
+
{
|
2104
|
+
"height" : 2136,
|
2105
|
+
"html_attributions" : [ "From a Google User" ],
|
2106
|
+
"photo_reference" : "CnRqAAAAzXNV76HnMz_ftglt96jseQKwSzqDGsm0k1scDGVkWNww_GDvfst1vlC1PnLeQTbRLrvgrwC1eazKSmmmShP077zuAZVFFrP5Y2J7FBa5VJcGLHbFHl1WH-7ld9C28BPKT41bgtYCVR95Giw77_E5KxIQv5l2teQpc4hionflZt5E8RoUfi3ikBKMFmVFQR6J37m0gT-1kPI",
|
2107
|
+
"width" : 2848
|
2108
|
+
}
|
2109
|
+
],
|
2110
|
+
"place_id" : "ChIJhRs1RzauEmsRLE2K9do7mcg",
|
2111
|
+
"reference" : "CnRwAAAANI61WVb7KOeoTYfUmV70vB6HNCky4h_qBnkNeFoEgeteU1dLXJQ49EhPO7m9gZZ3nCP_OlPBA-pcDGkuCal_HY_SgRyMt37l6tMtefVO8TUPT-JEBSIHB_7pS5BGS7pVXfcQLAI6oO0oJcB9FvNkdRIQ-IuGK407wdBO95eP_NFZHhoUTJVPJ_57JKODvJInjL2tGPOm3sk",
|
2112
|
+
"scope" : "GOOGLE",
|
2113
|
+
"types" : [ "cafe", "food", "establishment" ],
|
2114
|
+
"vicinity" : "8 Jones Bay Rd, Pyrmont"
|
2115
|
+
},
|
2116
|
+
{
|
2117
|
+
"geometry" : {
|
2118
|
+
"location" : {
|
2119
|
+
"lat" : -33.868283,
|
2120
|
+
"lng" : 151.194422
|
2121
|
+
}
|
2122
|
+
},
|
2123
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
2124
|
+
"id" : "df8498c40e304679e2e066fb9f47b8e6ab578b48",
|
2125
|
+
"name" : "Food Quarter",
|
2126
|
+
"opening_hours" : {
|
2127
|
+
"open_now" : true,
|
2128
|
+
"weekday_text" : []
|
2129
|
+
},
|
2130
|
+
"photos" : [
|
2131
|
+
{
|
2132
|
+
"height" : 440,
|
2133
|
+
"html_attributions" : [],
|
2134
|
+
"photo_reference" : "CnRnAAAAYMPM3oaU8f0-KsQbQ2K-lBaqW0Qw0G0e3TmyzWsBi4vCN6ZLRiEigaido_N271pzwPNS4AunyRX8WHERg8O1W4sVBMHbUaf_9CJDyEw6l0_OruVk67JzA5eOcY6fGhB4BcqaVDzOyECXMnkXeuRFDxIQYXVf6hjaIzUDkXgLhgzrsBoUM5jM2z-qyFI7VAFMMmOSsvauATY",
|
2135
|
+
"width" : 700
|
2136
|
+
}
|
2137
|
+
],
|
2138
|
+
"place_id" : "ChIJ1-v38TauEmsRP8ap8MBE1Bs",
|
2139
|
+
"reference" : "CnRtAAAAGYF829RJcRpRcTIQBZ0h13jbbDQWilOupb77R5DNoa0S8oyfZehZGPKIBPx30YJIW2iokuf2DqbCRT-lYO4e4JSAmf1ZoEPuDPBCk8thZvL8YYfSXkhK63STu9zNxiHaR8UkIXACASZDZhyYVO-TZxIQqc19iCw3Ex-14mE7oq02lhoU-nKIvqiR8rqa9Pe9JXN6JQ91NKE",
|
2140
|
+
"scope" : "GOOGLE",
|
2141
|
+
"types" : [ "bakery", "store", "cafe", "restaurant", "food", "establishment" ],
|
2142
|
+
"vicinity" : "80 Pyrmont St, Pyrmont"
|
2143
|
+
},
|
2144
|
+
{
|
2145
|
+
"geometry" : {
|
2146
|
+
"location" : {
|
2147
|
+
"lat" : -33.868173,
|
2148
|
+
"lng" : 151.194652
|
2149
|
+
}
|
2150
|
+
},
|
2151
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2152
|
+
"id" : "dcc2d5fcdc143f1b328dbcb823357b4f2b74998a",
|
2153
|
+
"name" : "Cafe Court",
|
2154
|
+
"place_id" : "ChIJ1-v38TauEmsRCO5mmZZfvXs",
|
2155
|
+
"reference" : "CnRrAAAAD13F__ovqjlvdPxXz0JySOARDoE-sajtdqwCUYc6daegDGnwSv6NAW_A3c5SGiB3yv2aIIGHsow5FWKvx02q6zjeYGqS_m-tdE1-kG1ueMjRHV2dTnwmC5r022ET_-8T7OJVOwuCJWnjhDqzupTHuRIQTTg7pFgNvJOaq2TGELUjUBoU1ujCqbzqyfRPu8AmBCEV4Qw_GHc",
|
2156
|
+
"scope" : "GOOGLE",
|
2157
|
+
"types" : [ "cafe", "restaurant", "food", "establishment" ],
|
2158
|
+
"vicinity" : "80 Pyrmont St, Pyrmont"
|
2159
|
+
},
|
2160
|
+
{
|
2161
|
+
"geometry" : {
|
2162
|
+
"location" : {
|
2163
|
+
"lat" : -33.866511,
|
2164
|
+
"lng" : 151.196064
|
2165
|
+
}
|
2166
|
+
},
|
2167
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2168
|
+
"id" : "91509349e192972859b886e62f11827e5bd0072f",
|
2169
|
+
"name" : "Esky Cafe",
|
2170
|
+
"photos" : [
|
2171
|
+
{
|
2172
|
+
"height" : 2048,
|
2173
|
+
"html_attributions" : [ "From a Google User" ],
|
2174
|
+
"photo_reference" : "CsQBuQAAAIothB3NF925bEOeUL1ERybeALVSggEfxfH7qONsv1xSGfzaD68m-fLyX1UYofnZR4zV2tsHRQH2MVYzCWuJHrItfBJkquJXn7MA_YrE8_9zVX4UDfug7ogO4TdYW4NAx5NutkXDFtUJNzQgW54d3kH3OzSxWXvsNOpjCYUVLRsnIT1suihgHcaB-Rj9Xa5-AcyrsnDst8tRV8F0QrJ7Q0IACx5B7ab-ziLHuXMLSzkDyDQMal1109hsfSB9csfuwhIQJKDo2jHdneebzSWNYGtRuxoUmvDnWH7BsQ0HVlRnILYeMgko3yg",
|
2175
|
+
"width" : 1536
|
2176
|
+
}
|
2177
|
+
],
|
2178
|
+
"place_id" : "ChIJm3d7yTeuEmsRC2wYUB24q9I",
|
2179
|
+
"reference" : "CnRrAAAAgMLCdqoxhbSX6RDDWmrUNBdYx15yU6K82cJRWBQKEu8LNVPAwi7ExZvZ6WicihQUaaxC6iDtoJiSzXJnImjfIJdyZS0WUV-UBhEQRUX_Zukmqx8sxsUbzZ5LjCiwSSC2bxGGzu9WL3NI_YHPNmtxvRIQU-dFEbPnlpYOKSN-auRF0BoUGkZWlqRWutWfLhsj64ftjrZXWXc",
|
2180
|
+
"scope" : "GOOGLE",
|
2181
|
+
"types" : [ "cafe", "restaurant", "food", "establishment" ],
|
2182
|
+
"vicinity" : "48 Pirrama Rd, Pyrmont"
|
2183
|
+
},
|
2184
|
+
{
|
2185
|
+
"geometry" : {
|
2186
|
+
"location" : {
|
2187
|
+
"lat" : -33.868274,
|
2188
|
+
"lng" : 151.196309
|
2189
|
+
}
|
2190
|
+
},
|
2191
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2192
|
+
"id" : "003482fdacacd82b58523069512b453e7f5ab539",
|
2193
|
+
"name" : "Karima Brassiere & Cafe Bar",
|
2194
|
+
"place_id" : "ChIJ1-v38TauEmsRbMuLkvV78Q0",
|
2195
|
+
"reference" : "CoQBfAAAAABcbYHA-DiVFp7aWDQ01as4P-Fr4DpD8j4TM2erfaQOtPUTEHMsvtfBQoIZQ4-vV3KuSpYTr1WI-N4m4W09D8scwjhOzdq2EsRL5n-EOyYSzi2ed6E157S17tMY7zV7dDTHOPE3wRuOW6ONJUDw4Ud600-h_RwNRez_vaj5tEF5EhAzmUbotZ1XJ__R6rdLrs4wGhR2A5Ccsa1GvMhZHqA-b4dMaskAig",
|
2196
|
+
"scope" : "GOOGLE",
|
2197
|
+
"types" : [ "cafe", "bar", "restaurant", "food", "establishment" ],
|
2198
|
+
"vicinity" : "Star City Casino Parking, Pyrmont"
|
2199
|
+
},
|
2200
|
+
{
|
2201
|
+
"geometry" : {
|
2202
|
+
"location" : {
|
2203
|
+
"lat" : -33.865275,
|
2204
|
+
"lng" : 151.19628
|
2205
|
+
}
|
2206
|
+
},
|
2207
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2208
|
+
"id" : "5c1b8cea5ae2c785c2e3d562fbcec77cb115d290",
|
2209
|
+
"name" : "Cafe Laneway",
|
2210
|
+
"photos" : [
|
2211
|
+
{
|
2212
|
+
"height" : 2048,
|
2213
|
+
"html_attributions" : [ "From a Google User" ],
|
2214
|
+
"photo_reference" : "CpQBkAAAAOu2hgIo-x0DOKkRKa56RDvu1EySbbDNKTgROROK8pXqhgsmsGVfr0PmXL41bfGn-51Nsp1qHJCUjQ7u294nQ3dtq6Ormfcw6xw-8xPXgLOVlgBG0TAuUn5ThKMjM4UKfq_JhZp39I0U5dFNyiit32_bXaR83c3lUHioYpZmwj5rNRsDPayJcmF3a9SV9RrkgxIQ3OZEESUrPt758o24A5-pTBoUsIlNZJQFb_aMCtW-i__EUVB8hEo",
|
2215
|
+
"width" : 1536
|
2216
|
+
}
|
2217
|
+
],
|
2218
|
+
"place_id" : "ChIJuTruKEiuEmsRvpSrD719U-M",
|
2219
|
+
"reference" : "CnRuAAAAquY14mKgmX8c2WsrbLqhwpMJCP1qS2o2f8dZKxi5ViORPAKdc7kMUuemLrOLS-el7ZkM7StSs9pWy6ziPkdF-twI9ct9d51aUJqItpyoQWCUyYV-7P9bXWaf_aB6znKn2s3huJ9bUTwUYgfmOaFdexIQMapCJuWCejnXMJ7LW3DIdBoU2ulwFLgw8_zAAcvmpU4sqCVtX9g",
|
2220
|
+
"scope" : "GOOGLE",
|
2221
|
+
"types" : [ "cafe", "restaurant", "food", "establishment" ],
|
2222
|
+
"vicinity" : "1 Darling Island Rd, Pyrmont"
|
2223
|
+
},
|
2224
|
+
{
|
2225
|
+
"geometry" : {
|
2226
|
+
"location" : {
|
2227
|
+
"lat" : -33.868796,
|
2228
|
+
"lng" : 151.196834
|
2229
|
+
}
|
2230
|
+
},
|
2231
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
|
2232
|
+
"id" : "7b47b9946dacf4fd712cf70f3b169d07b78f2689",
|
2233
|
+
"name" : "The Bay Cafe",
|
2234
|
+
"place_id" : "ChIJEav2DTeuEmsRCj-XJGB5ewg",
|
2235
|
+
"reference" : "CnRtAAAARei_StCJiTz8jonTIbdRefUFJtr_sOpsFhuNm8npIpC2o1-bL2m5AKinqa9Fl7QgnvYTNZuTe8ETQXQv6v6a-CCTF4uFbLTzaIqXO1rYlUOB0zNYHGIISDha9FSBLgsgHoT-ycz9sfoCjPu06vkAAxIQD-s0GRtMuu02yzBdeM4CGxoUXiZtOQ5i89Orh0KAhMXIB2F22HY",
|
2236
|
+
"scope" : "GOOGLE",
|
2237
|
+
"types" : [ "cafe", "food", "establishment" ],
|
2238
|
+
"vicinity" : "65 Pirrama Rd, Pyrmont"
|
2239
|
+
}
|
2240
|
+
],
|
2241
|
+
"status" : "OK"
|
2242
|
+
}
|
2243
|
+
http_version:
|
2244
|
+
recorded_at: Sat, 01 Nov 2014 22:54:27 GMT
|
2245
|
+
- request:
|
2246
|
+
method: get
|
2247
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=&radius=&rankby=&types=cafe
|
2248
|
+
body:
|
2249
|
+
encoding: US-ASCII
|
2250
|
+
string: ''
|
2251
|
+
headers: {}
|
2252
|
+
response:
|
2253
|
+
status:
|
2254
|
+
code: 200
|
2255
|
+
message: OK
|
2256
|
+
headers:
|
2257
|
+
Content-Type:
|
2258
|
+
- application/json; charset=UTF-8
|
2259
|
+
Date:
|
2260
|
+
- Sat, 01 Nov 2014 22:56:33 GMT
|
2261
|
+
Expires:
|
2262
|
+
- Sat, 01 Nov 2014 23:01:33 GMT
|
2263
|
+
Cache-Control:
|
2264
|
+
- public, max-age=300
|
2265
|
+
Vary:
|
2266
|
+
- Accept-Language
|
2267
|
+
Server:
|
2268
|
+
- mafe
|
2269
|
+
X-Xss-Protection:
|
2270
|
+
- 1; mode=block
|
2271
|
+
X-Frame-Options:
|
2272
|
+
- SAMEORIGIN
|
2273
|
+
Alternate-Protocol:
|
2274
|
+
- 443:quic,p=0.01
|
2275
|
+
Transfer-Encoding:
|
2276
|
+
- chunked
|
2277
|
+
body:
|
2278
|
+
encoding: UTF-8
|
2279
|
+
string: |
|
2280
|
+
{
|
2281
|
+
"html_attributions" : [],
|
2282
|
+
"results" : [],
|
2283
|
+
"status" : "INVALID_REQUEST"
|
2284
|
+
}
|
2285
|
+
http_version:
|
2286
|
+
recorded_at: Sat, 01 Nov 2014 22:56:32 GMT
|
1905
2287
|
recorded_with: VCR 2.9.2
|