Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Latest commit

 

History

History
43 lines (35 loc) · 1.09 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.09 KB

suggested_longtail

Code Climate

A ruby tool for fetching Google autocomplete suggestions.

Basic usage

Simply pass your base search phrase to bin/suggest to receive an alphabetically sorted list of suggestions.

~/suggested_longtail $ bin/suggest "hello world"
hello world android
hello world android app
hello world assembly
hello world c program
hello world c++
hello world communications
hello world html
hello world java
hello world java code
hello world java program
hello world javascript
hello world kid ink
hello world lady antebellum
hello world lyrics
hello world php
hello world program
hello world python
hello world ruby
http://www.metrolyrics.com/hello-world-lyrics-lady-antebellum.html

Advanced usage

bin/suggest takes three parameters:

  1. Required. Search phrase to use as base for suggestions.
  2. Optional. Language code. Examples: en, de. Default: en.
  3. Optional. Search depth. Default: 1.