sevenrooms-scrape
Log your clients' data from sevenrooms.com by scraping directly from the website.
Installation/Setup
git clone https://github.com/basilwong/sevenrooms_scrape.git
Setting up chromedriver
Download chromedriver and save it to the assets folder.
Setting up print_google_sheets
The below steps are for getting the credentials for accessing Google Sheets data.
- Go to Google API Console
- Create new project
- Click Enable API then enable the Google Drive API.
- Create credentials for a Web Server to access Application Data.
- Name the service account and grant it a Project Role of Editor.
- Download JSON file.
- Copy JSON file to the assets directory and rename: client_secret.json
- On the Google API Console search for and enable Google Sheets API.
Dependencies
pip3 install os datetime selenium bs4 oauth2client
Use
To gather the data of reservation clients, from the last year, and log it to a google sheets file go to the cloned directory and run:
cd sevenrooms_scrape
python3 example.py

Log in or sign up for Devpost to join the conversation.