A general purpose project for myself to fetch info about restaurants and "do stuff" with it.
This project is set up using virtualenvs. I'm using Python 3.8.3 since that's what I happen to have installed, though other Python versions likely work as well.
python3 -m venv venv
source activate venv/bin/activate
pip install -r requirements.txt
Create a copy of creds.example.json
and name it creds.json
- this is where the application will
pull API keys from in development.
This project uses various APIs that require some external setup.
To set up Google Cloud:
- Go to the Google Cloud console and set up a new project.
- Enable the Google Maps Platform API by following the instructions here
- Note that you may need to enable a billing account for this.
- Save the Google Maps API key to
creds.json
in the repo. - If running this on Google Cloud, enable the APIs needed for that here
- Install the Google Cloud CLI.
- Initialize the CLI (run
gcloud init
and everything else should work).
To set up Yelp:
- Go to the Yelp Create New App portal and set up a new app.
- Save the API key to
creds.json
in the repo.