This project scrapes the SReality API every 10 minutes, compares the listings with those saved in MongoDB, and sends notification emails for new listings.
-
Install dependencies:
pip install -r requirements.txt -
Set up environment variables in
.env. -
Run the FastAPI application:
uvicorn app.main:app --reload
- The scraper runs automatically every 10 minutes.
- Access the API at
http://127.0.0.1:8000.
- Use
dev_notebook.ipynbfor development and testing.