Skip to content

API Backend of my submission for the CapitalOne Yelp Challenge

Notifications You must be signed in to change notification settings

kevinniechen/fivethree-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yelp Restaraunt API Proxy

Backend API Proxy for my submission for the MindSumo CapitalOne Restaurant Challenge

Deployment

This is deployed using nginx and wsgi on a DigitalOcean droplet (512MB ram).

Local Deployment

To run this locally, simply install the requirements (in a virtualenv) and then run python app.py.

apt-get install virtualenv
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py

This API proxy makes use of Flask-CORS, making cross-origin AJAX possible. This means that you can call this API proxy from any domain.

/business

Uses Yelp Business Search

POST

Parameters:

  • location: Required. Specifies the combination of "address, neighborhood, city, state or zip, optional country" to be used when searching for businesses.
  • term: Optional. Search term (e.g. "food", "restaurants"). If term isn’t included we search everything. The term keyword also accepts business names such as "Starbucks".

About

API Backend of my submission for the CapitalOne Yelp Challenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages