Skip to content

alsalgu/YelpFlask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask JSON endpoints through YELP API

Flask Back-End server that calls Yelp API for JSON data, sorts it, and returns it in an easy to read jsonified endpoint. Front-End provides forms to utilize endpoints' search/filters, and navigation.

To Do:

  • Finish Comments and README
  • Change some if statements to try blocks
  • I like this project so Imma expand it later.

How-To:

  • Download repository
  • CD to root folder
  • Install requirements
  • Create missing files (See Below)
  • On Linux terminal type 'flask run'
  • Head on over to localhost:5000
  • For unit tests type 'python -m pytest tests'

What's Literally Missing

Config and secrets not added due to them being secret. They are as follows:

app/main/secrets.py

headers = {'Authorization':'Bearer insert-yelp-api-key'}

root/config.py

class Config(object):
    SECRET_KEY = 'insert-secret'

About

Quick Flask Setup for Yelp Fusion's API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published