Skip to content

Small piece of code to chose where to eat when you have no idea

Notifications You must be signed in to change notification settings

olivierpicault/iamhungry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

iamhungry

Check all restaurants around you and select a currently open one with a rating above 4 (by default) stars randomly

Usage

# basic usage
python iamhungry.py
# advanced usage
python iamhungry.py address="48 rené clair paris" distance=1000 rating=4.2

Available params:

  • distance (int): The distance between you and the place to eat
  • rating (float): The minimum rating on Google
  • address (string): The address you want to find a place to eat nearby

Google API Key

The one given in this piece of code as a low qota limit. To get your own one go here and enable the following services / API:

  • Google Maps Geocoding API
  • Google Places API Web Service
  • Google Maps Directions API

About

Small piece of code to chose where to eat when you have no idea

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages