https://maps.googleapis.com/maps/api/place/nearbysearch/json
?location=-33.7546,151.2974
&radius=2000
&sensor=true
&key=ABCDEF
Dee Why Point, -33.75471, 151.29968 Kid's Corner, -33.75407, 151.29805 Club House, -33.75262, 151.29833 The Beach, -33.75116, 151.29893 The Pole, -33.74977, 151.30056 No Man's Land, -33.74818, 151.30281 Long Reef, -33.74643, 151.30541 Long Reef Bombie, -33.74727, 151.30980
URL = 'https://maps.googleapis.com/maps/api/place/add/json?sensor=false&key=ABCDEF'
with open("surfspots.csv") as csv_file:
for (name, lat, lng) in csv.reader(csv_file, delimiter=','):
data = '''{
location: { lat: %s, lng: %s },
name: "%s",
types: ["other"],
}''' % (lat, lng, name)
request = urllib2.Request(URL, data, {'Content-Type': 'application/json'})
f = urllib2.urlopen(request)
response = f.read()
https://maps.googleapis.com/maps/api/place/nearbysearch/json
?location=-33.7546,151.2974
&radius=2000
&types=other
&sensor=true
&key=ABCDEF

https://maps.googleapis.com/maps/api/place/event/add/json
?sensor=true
&key=ABCDEF
{
reference=a3T3vbnflkjsdf89asdfASDF234AS...
summary: "3.5|3.5|3.6|3.7|3.8|4.0|4.0",
duration: 21600
}
{
status: "OK",
results: [{
name: "Dee Why Point",
events: [{
summary: "3.5|3.5|3.6|3.7|3.8|4.0|4.0",
...
name: "Kid's Corner",
events: [{
summary: "2.5|2.5|2.6|2.6|2.7|2.7|2.7",
...
https://maps.googleapis.com/maps/api/place/nearbysearch
?location=-33.7546,151.2974
&keyword=surf+shop
&rankby=distance
&sensor=true
&key=ABCDEF
https://maps.googleapis.com/maps/api/place/details/json
?reference=CnRvAAAAuHjisXbvgitJ0vdNK3aczyL...
&sensor=true
&key=ABCDEF
{
"result" : [{
"name" : "Manly Surf Lessons",
"reviews" : [{
"text" : "The best surf school in NSW.",
"aspects" : [{ "type": "overall", "rating": 3 }],
},
...
More information: