From 9d2ae1d211fa33cdc349c04c3a57254605ed226b Mon Sep 17 00:00:00 2001 From: Ritika Shandilya Date: Tue, 3 May 2016 22:08:20 -0400 Subject: [PATCH] updated search with 'query' instead of 'keyword' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ff0e77..186c0f9 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ var GooglePlaces = require('google-places'); var places = new GooglePlaces('YOUR_API_KEY'); -places.search({keyword: 'Vermonster'}, function(err, response) { +places.search({query: 'Vermonster'}, function(err, response) { console.log("search: ", response.results); places.details({reference: response.results[0].reference}, function(err, response) {