This project is a data scraper for Amazon product details. It uses various APIs and requires specific API keys and database credentials to run successfully.
Before running the project, ensure you have the following:
- DataASIN API Key for Amazon data scraping.
- AWS account with an EC2 instance to host the API and an RDS EC2 instance for the database. Alternatively, you can deploy the API instance locally.
- Database credentials (username, password, database name) for MySQL stored in a
.env
file in the Amazon API directory.
- Obtain the DataASIN API key for Amazon data scraping.
- Set up an AWS account with an EC2 instance and an RDS EC2 instance. Alternatively, set up the project to run locally.
- In the Amazon API directory, create a
.env
file. - Add your database credentials in the
.env
file using the following format: - Save the
.env
file.
ClientID = ClientSecret = master_pass= HOST_URL= HOST_PORT=3306 DB_USER=admin PASSWORD= DB_NAME=ElevateCommerceAI API_KEY= ENV=DEVELOPMENT
- Navigate to the
database
folder in the project. - Execute all the required data tables' definitions in MySQL to set up the database schema.
- Set the API environment to "Developer mode" in the
.env
file to run the code locally. - Start the API to begin scraping Amazon product details.
Once the setup is complete, you can use the API to scrape Amazon product details. Make sure to handle the scraped data securely and in compliance with Amazon's terms of service.
If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.