Project

findplace

0.01
No commit activity in last 3 years
No release in over 3 years
"A gem that uses the Google Places API to find the Location of your machine and returns with the name of all places matching the search type"
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
~> 1.8.7
= 0.9.11
~> 3.12
 Project Readme

findplace¶ ↑

* findplace is a gem that allows to search for locations nearby.For eg: User can search for 'Hotels' nearby by passing the request as "hotel".
* The gem will access the user-ip to find the location of the IP and then return all locations matching the request.

Installation¶ ↑

The master branch supports versions >= Rails 3¶ ↑

Add the gem to the gemfile:

gem "findplace"

Usage¶ ↑

To find a location near you:

* FindPlace.search_nearby(google_places_api_key,client_ip,type) eg: FindPlace.search_nearby(“goole_api_key”,10.10.10.10,“school”) returns the array of locations of all the schools within 5000 meters of the location of the IP 10.10.10.10

* If the google_api_key is invalid,result would be “Invalid API key” * If the Geocoder doesnot respond before time out,response would be “No Results,Request Time Out” * If the request doesnot produce any results,response would be “Sorryyy…No results for your request”

Comments/Requests¶ ↑

  • If anyone has comments or questions please let me know (krxcet@gmail.com or kannanr@qburst.com).

  • If you have updates or patches or want to contribute I would love to see what you have or want to add.

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it.

  • Send me a pull request. Bonus points for topic branches.

Contributers¶ ↑

This list is open to all. You are all welcome :).

Copyright © 2013 QBurst(qbruby@qburst.com). See LICENSE.txt for further details.