Skip to content
/ Locator Public

This ruby command-line app finds the location from where your request has been sent, and search your nearby places according to keywords and radius provided.

Notifications You must be signed in to change notification settings

prabes/Locator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Locator

Description

This ruby command-line app takes the input of Search Keywords and Radius to search the location and it lists out all results it got from Google Maps. It utilizes ipify API to get the user's location details ie, longitude & latitude. It consumes Google Maps API to get the search results.

Usages

You'll need IPIFY API-KEY and Google Maps API-KEY in order to run this script.

  1. You must create an .env file on root directory.
  2. You should now include the API credentials as:
    
        IPIFY_KEY=[YOUR_IPIFY_KEY]
        API_KEY=[YOUR_GOOGLE_API_KEY] ```
    

Run: 3. > $ ruby main.rb

About

This ruby command-line app finds the location from where your request has been sent, and search your nearby places according to keywords and radius provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages