Welcome to RentScout, a high-performance API designed for aggregating rental data from leading platforms. Whether you're a developer looking to integrate rental data into your application or a researcher seeking insights into housing trends, RentScout provides the tools you need.
- Data Aggregation: Collects rental data from multiple sources including Avito, Cian, and Yandex.
- FastAPI: Built on FastAPI for high performance and ease of use.
- Docker Support: Easily deploy with Docker and Docker Compose.
- Real-time Data: Get the latest rental listings as they become available.
- Redis Caching: Fast access to frequently requested data.
- SQL Database: Store and query data efficiently.
To start using RentScout, follow the instructions below. Make sure you have the necessary tools installed, including Docker and Docker Compose.
- Docker
- Docker Compose
- Python 3.7 or higher
-
Clone the repository:
git clone https://github.com/Soasu/rentscout.git cd rentscout
-
Build and run the Docker containers:
docker-compose up --build
-
Access the API at
http://localhost:8000
.
After starting the API, you can use it to access rental data. Below are examples of how to make requests.
To get rental listings, send a GET request to the following endpoint:
GET /api/rentals
You will receive a JSON response containing rental listings:
{
"listings": [
{
"id": 1,
"title": "2-bedroom apartment in the city center",
"price": 1500,
"source": "Avito"
},
...
]
}
Here are some key API endpoints you can use:
- Get all rentals:
GET /api/rentals
- Get rental by ID:
GET /api/rentals/{id}
- Search rentals:
GET /api/rentals/search?query={search_term}
We welcome contributions to RentScout! If you have ideas for improvements or new features, feel free to submit a pull request.
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please reach out to us via GitHub issues or directly through our contact page.
You can find the latest releases of RentScout here. Download the latest version and execute it to get started with the API.
Visit the Releases section for more information.
Thank you for choosing RentScout! We hope you find it useful for your rental data needs.