suggestion
Queries google's suggestions API
Installation
This module is installed via npm:
$ npm install suggestion
Example Usage
Hit up google suggest with a single query
var suggest = ;
Iterate through another level of google suggest
You can get even more suggestions by appending ' a', ' b', ' c' to your
google suggest query. This does it down to one level from a
to z
.
NB: currently only one level of traversal is supported. Pull requests welcome.
var suggest = ;;
Youtube Suggest
Pass in "youtube" as the client
option:
var suggest = ;;
Change language
Pass in the language code as the hl
option:
var suggest = ;;