0xkash / rest-scraper

A real estate scraper with a built in REST API
1 stars 0 forks source link

Add list routes for scrapers and properties #9

Closed 0xkash closed 1 year ago

0xkash commented 1 year ago

Implement a list route where a list of the scraper and property route can be given. This also needs to implement filters to minimize the rows to display. Edit: Filters will be implemented later when fastapi-filters gets pydantic >= 2.0 support

Defaults: 10 items, sort by updated newest to oldest Filters can be set in a front end application

0xkash commented 1 year ago

So for filtering I want to use fastapi-filtering, however this is not available for pydantic >2.0.0 as of right now. There is currently a pull request open to bump the verision but it is not yet merged. https://github.com/arthurio/fastapi-filter/pull/447