Made by Joel Keskinen, Panu Teräs and Jimi Hietakangas for the app programming course.
This scraper parses Google Maps API in order get the longitude and latitude from an inputted address, which when used along with the search radius and the business type, the user is given a list of the nearby businesses within the radius, along with the business address, distance, google rating and the business status.
The application has been built using Python3, Flask and React. Database integration has been done with redis, axios and SCLAlchemy.
To use log in, first register an user. Use the /register route in app.py.
- Clone the repository from Github.
git clone https://github.com/pteras/GoogleMapsScraper.git
- Install Python packages from the requirements.txt file.
pip install -r requirements.txt
- Install required node-modules in the /client directory.
npm install
- Install and run redis in your terminal.
redis-cli
- Run app.py
python3 app.py
- Start the server.
npm start
- The project has been made with the Python Google Maps Geolocation and Places API.
- Each request requires an API key. Your personal API key can be generated in Google Cloud Console. Your API key should not be shared.
- The API key can be found within the .env file.