reefapi 0.1.7__tar.gz → 0.1.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reefapi-0.1.7 → reefapi-0.1.8}/PKG-INFO +3 -3
- {reefapi-0.1.7 → reefapi-0.1.8}/README.md +2 -2
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/_engines.py +95 -47
- reefapi-0.1.8/src/reefapi/_version.py +1 -0
- reefapi-0.1.7/src/reefapi/_version.py +0 -1
- {reefapi-0.1.7 → reefapi-0.1.8}/.gitignore +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/LICENSE +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/pyproject.toml +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/scripts/generate.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/__init__.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/_client.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/_errors.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/_types.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/src/reefapi/py.typed +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/tests/test_client.py +0 -0
- {reefapi-0.1.7 → reefapi-0.1.8}/tests/test_live.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: reefapi
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.8
|
|
4
4
|
Summary: Official Python SDK for ReefAPI: one API key for 600+ live web-data APIs (Amazon, eBay, Zillow, Reddit, Google Maps, LinkedIn Jobs and more).
|
|
5
5
|
Project-URL: Homepage, https://reefapi.com
|
|
6
6
|
Project-URL: Documentation, https://reefapi.com/docs
|
|
@@ -269,7 +269,7 @@ defaults and what the response contains. All other engines work through `client.
|
|
|
269
269
|
| [`hibid`](https://reefapi.com/docs/hibid) | HiBid | `search`, `detail`, `bids`, `auctions`, `houses`, `categories` |
|
|
270
270
|
| [`huuto`](https://reefapi.com/docs/huuto) | Huuto.net Finland auctions and fixed-price listings | `search`, `listing` |
|
|
271
271
|
| [`ikman`](https://reefapi.com/docs/ikman) | ikman.lk API scraper | `search`, `listing`, `categories`, `locations` |
|
|
272
|
-
| [`interencheres`](https://reefapi.com/docs/interencheres) | Interencheres France auction lots | `search`, `listing`, `houses`, `sales` |
|
|
272
|
+
| [`interencheres`](https://reefapi.com/docs/interencheres) | Interencheres France auction lots | `search`, `listing`, `houses`, `sales`, `results`, `sale_results` |
|
|
273
273
|
| [`jiji`](https://reefapi.com/docs/jiji) | Jiji | `search`, `listing`, `seller_listings`, `seller_reviews`, `similar`, `price_history` +4 |
|
|
274
274
|
| [`jmty`](https://reefapi.com/docs/jmty) | Jmty (ジモティー) API scraper | `search`, `listing`, `seller`, `categories`, `locations` |
|
|
275
275
|
| [`jofogas`](https://reefapi.com/docs/jofogas) | Jofogas Hungary public classifieds | `search`, `listing` |
|
|
@@ -660,7 +660,7 @@ defaults and what the response contains. All other engines work through `client.
|
|
|
660
660
|
| [`target-au`](https://reefapi.com/docs/target-au) | Target Australia | `search`, `product`, `stock`, `categories`, `stores` |
|
|
661
661
|
| [`tcgplayer`](https://reefapi.com/docs/tcgplayer) | TCGplayer API scraper | `search`, `product/detail`, `product/listings`, `product/sales`, `product/price_history`, `sets` +1 |
|
|
662
662
|
| [`teknosa`](https://reefapi.com/docs/teknosa) | Teknosa API scraper | `search`, `product/detail`, `product/reviews`, `search/suggest` |
|
|
663
|
-
| [`temu`](https://reefapi.com/docs/temu) | Temu product data and
|
|
663
|
+
| [`temu`](https://reefapi.com/docs/temu) | Temu product data: every SKU price and stock in 26 countr... | `product/detail`, `search`, `reviews`, `seller` |
|
|
664
664
|
| [`tesco`](https://reefapi.com/docs/tesco) | Tesco API scraper | `search`, `product/detail`, `product/reviews`, `deals`, `promotion`, `category` +1 |
|
|
665
665
|
| [`therealreal`](https://reefapi.com/docs/therealreal) | TheRealReal API scraper | `search`, `browse`, `product/detail`, `products/batch`, `product/similar`, `sold/search` +5 |
|
|
666
666
|
| [`thredup`](https://reefapi.com/docs/thredup) | ThredUp API scraper - the US fashion-resale marketplace:... | `search`, `item/detail`, `brand/resolve` |
|
|
@@ -240,7 +240,7 @@ defaults and what the response contains. All other engines work through `client.
|
|
|
240
240
|
| [`hibid`](https://reefapi.com/docs/hibid) | HiBid | `search`, `detail`, `bids`, `auctions`, `houses`, `categories` |
|
|
241
241
|
| [`huuto`](https://reefapi.com/docs/huuto) | Huuto.net Finland auctions and fixed-price listings | `search`, `listing` |
|
|
242
242
|
| [`ikman`](https://reefapi.com/docs/ikman) | ikman.lk API scraper | `search`, `listing`, `categories`, `locations` |
|
|
243
|
-
| [`interencheres`](https://reefapi.com/docs/interencheres) | Interencheres France auction lots | `search`, `listing`, `houses`, `sales` |
|
|
243
|
+
| [`interencheres`](https://reefapi.com/docs/interencheres) | Interencheres France auction lots | `search`, `listing`, `houses`, `sales`, `results`, `sale_results` |
|
|
244
244
|
| [`jiji`](https://reefapi.com/docs/jiji) | Jiji | `search`, `listing`, `seller_listings`, `seller_reviews`, `similar`, `price_history` +4 |
|
|
245
245
|
| [`jmty`](https://reefapi.com/docs/jmty) | Jmty (ジモティー) API scraper | `search`, `listing`, `seller`, `categories`, `locations` |
|
|
246
246
|
| [`jofogas`](https://reefapi.com/docs/jofogas) | Jofogas Hungary public classifieds | `search`, `listing` |
|
|
@@ -631,7 +631,7 @@ defaults and what the response contains. All other engines work through `client.
|
|
|
631
631
|
| [`target-au`](https://reefapi.com/docs/target-au) | Target Australia | `search`, `product`, `stock`, `categories`, `stores` |
|
|
632
632
|
| [`tcgplayer`](https://reefapi.com/docs/tcgplayer) | TCGplayer API scraper | `search`, `product/detail`, `product/listings`, `product/sales`, `product/price_history`, `sets` +1 |
|
|
633
633
|
| [`teknosa`](https://reefapi.com/docs/teknosa) | Teknosa API scraper | `search`, `product/detail`, `product/reviews`, `search/suggest` |
|
|
634
|
-
| [`temu`](https://reefapi.com/docs/temu) | Temu product data and
|
|
634
|
+
| [`temu`](https://reefapi.com/docs/temu) | Temu product data: every SKU price and stock in 26 countr... | `product/detail`, `search`, `reviews`, `seller` |
|
|
635
635
|
| [`tesco`](https://reefapi.com/docs/tesco) | Tesco API scraper | `search`, `product/detail`, `product/reviews`, `deals`, `promotion`, `category` +1 |
|
|
636
636
|
| [`therealreal`](https://reefapi.com/docs/therealreal) | TheRealReal API scraper | `search`, `browse`, `product/detail`, `products/batch`, `product/similar`, `sold/search` +5 |
|
|
637
637
|
| [`thredup`](https://reefapi.com/docs/thredup) | ThredUp API scraper - the US fashion-resale marketplace:... | `search`, `item/detail`, `brand/resolve` |
|
|
@@ -771,7 +771,7 @@ class AmazonEngine(_Engine):
|
|
|
771
771
|
class EbayEngine(_Engine):
|
|
772
772
|
"""eBay API — search active listings, research sold prices, and fetch full item detail across 13 eBay marketplaces (no account required)
|
|
773
773
|
|
|
774
|
-
Engine ``ebay`` (version 0.3.
|
|
774
|
+
Engine ``ebay`` (version 0.3.5). Docs: https://reefapi.com/docs/ebay
|
|
775
775
|
|
|
776
776
|
Methods (method -> API action):
|
|
777
777
|
search -> search
|
|
@@ -948,12 +948,12 @@ class EbayEngine(_Engine):
|
|
|
948
948
|
Returns:
|
|
949
949
|
The response ``data``: item{item_id, title, price{value,currency}, list_price,
|
|
950
950
|
condition, availability, brand, model, mpn, images[], category_path[], item_specifics{},
|
|
951
|
-
seller{name
|
|
952
|
-
(
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
951
|
+
seller{name (store slug for a store seller, else the eBay username, as before), username
|
|
952
|
+
(the eBay username, always), feedback_pct, feedback_count, store? (store URL slug)},
|
|
953
|
+
shipping, return_policy, url, buying_format? ('auction' ONLY when the listing's own bid
|
|
954
|
+
box is on the page — a fixed-price listing never carries it, and the bid count of a
|
|
955
|
+
recommended listing is never read), bids?, current_bid?, time_left? (auction fields;
|
|
956
|
+
present only on an aucti ...
|
|
957
957
|
|
|
958
958
|
Raises:
|
|
959
959
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
@@ -1016,12 +1016,12 @@ class EbayEngine(_Engine):
|
|
|
1016
1016
|
Returns:
|
|
1017
1017
|
The response ``data``: items[]{item_id, title, price{value,currency}, list_price,
|
|
1018
1018
|
condition, availability, brand, model, mpn, images[], category_path[], item_specifics{},
|
|
1019
|
-
seller{name
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1019
|
+
seller{name (store slug for a store seller, else the eBay username, as before), username
|
|
1020
|
+
(the eBay username, always), feedback_pct, feedback_count, store? (store URL slug)},
|
|
1021
|
+
shipping, return_policy, url, bids?, current_bid?, end_time?, watchers?,
|
|
1022
|
+
quantity_available?, quantity_sold?, best_offer, description_url, listing_status
|
|
1023
|
+
('active' | 'ended' | null; quantity_available is null on an ended listing),
|
|
1024
|
+
shipping{rate, currency, country, free} (the ra ...
|
|
1025
1025
|
|
|
1026
1026
|
Raises:
|
|
1027
1027
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
@@ -2966,7 +2966,7 @@ class VintedEngine(_Engine):
|
|
|
2966
2966
|
class ZillowEngine(_Engine):
|
|
2967
2967
|
"""Zillow API — US real estate data: for-sale, rental and sold listings, full property detail with Zestimate, price/tax history, schools, comps, agents, market trends, walk/transit/bike scores and home-value history
|
|
2968
2968
|
|
|
2969
|
-
Engine ``zillow`` (version 1.
|
|
2969
|
+
Engine ``zillow`` (version 1.8.0). Docs: https://reefapi.com/docs/zillow
|
|
2970
2970
|
|
|
2971
2971
|
Methods (method -> API action):
|
|
2972
2972
|
new_listings -> new_listings
|
|
@@ -3062,6 +3062,8 @@ class ZillowEngine(_Engine):
|
|
|
3062
3062
|
max_hoa: Optional[int] = None,
|
|
3063
3063
|
days_on_max: Optional[int] = None,
|
|
3064
3064
|
keywords: Optional[str] = None,
|
|
3065
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
3066
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
3065
3067
|
) -> Any:
|
|
3066
3068
|
"""
|
|
3067
3069
|
Search listings by location (for sale / for rent / recently sold), with structured filters:
|
|
@@ -3077,8 +3079,10 @@ class ZillowEngine(_Engine):
|
|
|
3077
3079
|
location: Required. Where to search — city, ZIP, neighborhood or county ('Austin, TX',
|
|
3078
3080
|
'78704', 'Brooklyn, NY'), or a street address ('5013 Cortez Way, Severance, CO') to
|
|
3079
3081
|
search the blocks around it (about 2 km each way); the matched home comes back as
|
|
3080
|
-
address_match{zpid, address, latitude, longitude, search_box}.
|
|
3081
|
-
|
|
3082
|
+
address_match{zpid, address, latitude, longitude, search_box}. A street Zillow
|
|
3083
|
+
cannot match (no house number, or one it has no record of: 'Stonington Drive, Silver
|
|
3084
|
+
Spring, MD 20902') falls back to the ZIP / city in the same string, and
|
|
3085
|
+
meta.warnings names the area actually searched. Example: "Austin, TX".
|
|
3082
3086
|
status: Listing status to search (synonyms rent/rental/recently_sold also accepted). One
|
|
3083
3087
|
of: "for_sale" (For sale), "for_rent" (For rent), "sold" (Recently sold). Default:
|
|
3084
3088
|
"for_sale". Example: "for_sale".
|
|
@@ -3110,6 +3114,16 @@ class ZillowEngine(_Engine):
|
|
|
3110
3114
|
Minimum: 1. Example: 7.
|
|
3111
3115
|
keywords: Free-text listing keyword filter (e.g. 'pool', 'waterfront', 'guest house').
|
|
3112
3116
|
Example: "pool".
|
|
3117
|
+
sort: Result order (Zillow's own sort). zestimate_desc ranks by Zillow's estimated
|
|
3118
|
+
value, highest first. Rows are re-sorted on the value after fetching, rows without
|
|
3119
|
+
it last. One of: "relevance" (Zillow's default order), "price_desc" (Price, high to
|
|
3120
|
+
low), "price_asc" (Price, low to high), "zestimate_desc" (Zestimate, high to low),
|
|
3121
|
+
"zestimate_asc" (Zestimate, low to high). Default: "relevance". Example:
|
|
3122
|
+
"zestimate_desc".
|
|
3123
|
+
sold_within: status=sold only: how far back to look. 36m is the longest Zillow offers
|
|
3124
|
+
(ZIP 20902: 419 homes in 12m, 1,183 in 36m). One of: "6m" (Last 6 months), "12m"
|
|
3125
|
+
(Last 12 months), "24m" (Last 24 months), "36m" (Last 36 months). Default: "12m".
|
|
3126
|
+
Example: "36m".
|
|
3113
3127
|
|
|
3114
3128
|
Returns:
|
|
3115
3129
|
The response ``data``: items[]{zpid, identifier_type, is_building, url, list_price_usd,
|
|
@@ -3124,7 +3138,7 @@ class ZillowEngine(_Engine):
|
|
|
3124
3138
|
Raises:
|
|
3125
3139
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
3126
3140
|
"""
|
|
3127
|
-
return self._c.call("zillow", "search", {"location": location, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords})
|
|
3141
|
+
return self._c.call("zillow", "search", {"location": location, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within})
|
|
3128
3142
|
|
|
3129
3143
|
def search_by_coordinates(
|
|
3130
3144
|
self,
|
|
@@ -3148,6 +3162,8 @@ class ZillowEngine(_Engine):
|
|
|
3148
3162
|
max_hoa: Optional[int] = None,
|
|
3149
3163
|
days_on_max: Optional[int] = None,
|
|
3150
3164
|
keywords: Optional[str] = None,
|
|
3165
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
3166
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
3151
3167
|
) -> Any:
|
|
3152
3168
|
"""
|
|
3153
3169
|
Search listings inside exact map bounds (returns more than the standard ~860-result cap),
|
|
@@ -3191,6 +3207,16 @@ class ZillowEngine(_Engine):
|
|
|
3191
3207
|
Minimum: 1. Example: 7.
|
|
3192
3208
|
keywords: Free-text listing keyword filter (e.g. 'pool', 'waterfront', 'guest house').
|
|
3193
3209
|
Example: "pool".
|
|
3210
|
+
sort: Result order (Zillow's own sort). zestimate_desc ranks by Zillow's estimated
|
|
3211
|
+
value, highest first. Rows are re-sorted on the value after fetching, rows without
|
|
3212
|
+
it last. One of: "relevance" (Zillow's default order), "price_desc" (Price, high to
|
|
3213
|
+
low), "price_asc" (Price, low to high), "zestimate_desc" (Zestimate, high to low),
|
|
3214
|
+
"zestimate_asc" (Zestimate, low to high). Default: "relevance". Example:
|
|
3215
|
+
"zestimate_desc".
|
|
3216
|
+
sold_within: status=sold only: how far back to look. 36m is the longest Zillow offers
|
|
3217
|
+
(ZIP 20902: 419 homes in 12m, 1,183 in 36m). One of: "6m" (Last 6 months), "12m"
|
|
3218
|
+
(Last 12 months), "24m" (Last 24 months), "36m" (Last 36 months). Default: "12m".
|
|
3219
|
+
Example: "36m".
|
|
3194
3220
|
|
|
3195
3221
|
Returns:
|
|
3196
3222
|
The response ``data``: items[] - the same shape, and the same for_rent (buildings, not
|
|
@@ -3200,7 +3226,7 @@ class ZillowEngine(_Engine):
|
|
|
3200
3226
|
Raises:
|
|
3201
3227
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
3202
3228
|
"""
|
|
3203
|
-
return self._c.call("zillow", "search_by_coordinates", {"map_bounds": map_bounds, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords})
|
|
3229
|
+
return self._c.call("zillow", "search_by_coordinates", {"map_bounds": map_bounds, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within})
|
|
3204
3230
|
|
|
3205
3231
|
def search_by_url(
|
|
3206
3232
|
self,
|
|
@@ -3319,12 +3345,14 @@ class ZillowEngine(_Engine):
|
|
|
3319
3345
|
max_hoa: Optional[int] = None,
|
|
3320
3346
|
days_on_max: Optional[int] = None,
|
|
3321
3347
|
keywords: Optional[str] = None,
|
|
3348
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
3349
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
3322
3350
|
max_results: Optional[Any] = None,
|
|
3323
3351
|
) -> Any:
|
|
3324
3352
|
"""
|
|
3325
|
-
Recently-sold listings (last 12 months) by location or map bounds,
|
|
3326
|
-
filters as search. The sale price fills in disclosure states and is
|
|
3327
|
-
non-disclosure ones - read `returns` before building on it.
|
|
3353
|
+
Recently-sold listings (last 12 months; sold_within up to 36m) by location or map bounds,
|
|
3354
|
+
with the same structured filters as search. The sale price fills in disclosure states and is
|
|
3355
|
+
genuinely absent in non-disclosure ones - read `returns` before building on it.
|
|
3328
3356
|
|
|
3329
3357
|
Calls ``POST /zillow/v1/sold``. Docs: https://reefapi.com/docs/zillow
|
|
3330
3358
|
Example params: {"location": "Seattle, WA"}
|
|
@@ -3359,6 +3387,16 @@ class ZillowEngine(_Engine):
|
|
|
3359
3387
|
Minimum: 1. Example: 7.
|
|
3360
3388
|
keywords: Free-text listing keyword filter (e.g. 'pool', 'waterfront', 'guest house').
|
|
3361
3389
|
Example: "pool".
|
|
3390
|
+
sort: Result order (Zillow's own sort). zestimate_desc ranks by Zillow's estimated
|
|
3391
|
+
value, highest first. Rows are re-sorted on the value after fetching, rows without
|
|
3392
|
+
it last. One of: "relevance" (Zillow's default order), "price_desc" (Price, high to
|
|
3393
|
+
low), "price_asc" (Price, low to high), "zestimate_desc" (Zestimate, high to low),
|
|
3394
|
+
"zestimate_asc" (Zestimate, low to high). Default: "relevance". Example:
|
|
3395
|
+
"zestimate_desc".
|
|
3396
|
+
sold_within: status=sold only: how far back to look. 36m is the longest Zillow offers
|
|
3397
|
+
(ZIP 20902: 419 homes in 12m, 1,183 in 36m). One of: "6m" (Last 6 months), "12m"
|
|
3398
|
+
(Last 12 months), "24m" (Last 24 months), "36m" (Last 36 months). Default: "12m".
|
|
3399
|
+
Example: "36m".
|
|
3362
3400
|
max_results: (no description)
|
|
3363
3401
|
|
|
3364
3402
|
Returns:
|
|
@@ -3374,7 +3412,7 @@ class ZillowEngine(_Engine):
|
|
|
3374
3412
|
Raises:
|
|
3375
3413
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
3376
3414
|
"""
|
|
3377
|
-
return self._c.call("zillow", "sold", {"location": location, "map_bounds": map_bounds, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "max_results": max_results})
|
|
3415
|
+
return self._c.call("zillow", "sold", {"location": location, "map_bounds": map_bounds, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within, "max_results": max_results})
|
|
3378
3416
|
|
|
3379
3417
|
def agent(
|
|
3380
3418
|
self,
|
|
@@ -3451,8 +3489,10 @@ class ZillowEngine(_Engine):
|
|
|
3451
3489
|
location: Required. Where to search — city, ZIP, neighborhood or county ('Austin, TX',
|
|
3452
3490
|
'78704', 'Brooklyn, NY'), or a street address ('5013 Cortez Way, Severance, CO') to
|
|
3453
3491
|
search the blocks around it (about 2 km each way); the matched home comes back as
|
|
3454
|
-
address_match{zpid, address, latitude, longitude, search_box}.
|
|
3455
|
-
|
|
3492
|
+
address_match{zpid, address, latitude, longitude, search_box}. A street Zillow
|
|
3493
|
+
cannot match (no house number, or one it has no record of: 'Stonington Drive, Silver
|
|
3494
|
+
Spring, MD 20902') falls back to the ZIP / city in the same string, and
|
|
3495
|
+
meta.warnings names the area actually searched. Example: "Austin, TX".
|
|
3456
3496
|
|
|
3457
3497
|
Returns:
|
|
3458
3498
|
The response ``data``: agents[]{name, subtitle, encoded_zuid, profile_url, rating (0-5),
|
|
@@ -3511,8 +3551,10 @@ class ZillowEngine(_Engine):
|
|
|
3511
3551
|
location: Required. Where to search — city, ZIP, neighborhood or county ('Austin, TX',
|
|
3512
3552
|
'78704', 'Brooklyn, NY'), or a street address ('5013 Cortez Way, Severance, CO') to
|
|
3513
3553
|
search the blocks around it (about 2 km each way); the matched home comes back as
|
|
3514
|
-
address_match{zpid, address, latitude, longitude, search_box}.
|
|
3515
|
-
|
|
3554
|
+
address_match{zpid, address, latitude, longitude, search_box}. A street Zillow
|
|
3555
|
+
cannot match (no house number, or one it has no record of: 'Stonington Drive, Silver
|
|
3556
|
+
Spring, MD 20902') falls back to the ZIP / city in the same string, and
|
|
3557
|
+
meta.warnings names the area actually searched. Example: "Austin, TX".
|
|
3516
3558
|
|
|
3517
3559
|
Returns:
|
|
3518
3560
|
The response ``data``: market{zhvi_usd, median_sale_price_usd, median_list_price_usd,
|
|
@@ -5139,7 +5181,7 @@ class RedditEngine(_Engine):
|
|
|
5139
5181
|
class TiktokShopEngine(_Engine):
|
|
5140
5182
|
"""TikTok Shop API — product detail with per-SKU price and stock, category browsing, seller profiles and catalogues, US keyword search, best-seller and deal feeds, and customer reviews across 10 markets (US, UK, Malaysia, Singapore, Thailand, Philippines, Vietnam, Indonesia, Japan, Mexico)
|
|
5141
5183
|
|
|
5142
|
-
Engine ``tiktok-shop`` (version 1.0
|
|
5184
|
+
Engine ``tiktok-shop`` (version 1.2.0). Docs: https://reefapi.com/docs/tiktok-shop
|
|
5143
5185
|
|
|
5144
5186
|
Methods (method -> API action):
|
|
5145
5187
|
product_detail -> product_detail
|
|
@@ -5193,11 +5235,11 @@ class TiktokShopEngine(_Engine):
|
|
|
5193
5235
|
The response ``data``: product{product_id, title, url, market, currency, price,
|
|
5194
5236
|
list_price, discount_percent, is_promotional, rating, review_count, sold_count, brand,
|
|
5195
5237
|
images[], description, description_images[], categories[], specifications[], skus[],
|
|
5196
|
-
total_stock, sku_count, shipping{}, seller{}
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5200
|
-
|
|
5238
|
+
total_stock, sku_count, shipping{}, seller{}, price_varies_per_request, price_basis,
|
|
5239
|
+
price_observed, list_price_observed, sold_count_note}, reviews[], review_summary{}.
|
|
5240
|
+
PRICE - read price_basis. TikTok serves some product pages (its anti-bot mode, waf_type
|
|
5241
|
+
3) with a PERTURBED price: every load scales all SKU prices by a new random factor
|
|
5242
|
+
(measured 2026-11-14: US 1.05-1 ...
|
|
5201
5243
|
|
|
5202
5244
|
Raises:
|
|
5203
5245
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
@@ -5370,13 +5412,13 @@ class TiktokShopEngine(_Engine):
|
|
|
5370
5412
|
|
|
5371
5413
|
Returns:
|
|
5372
5414
|
The response ``data``: results[] (standard listing rows), shops[] {seller_id, shop_name,
|
|
5373
|
-
shop_logo}, query, has_more, pages_fetched, requested_max. NO
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5415
|
+
shop_logo}, query, has_more, pages_fetched, requested_max, no_results_reason. NO RESULTS
|
|
5416
|
+
IS AN ANSWER, NOT AN ERROR: when TikTok itself says a query has no results, the call
|
|
5417
|
+
succeeds with results [] and no_results_reason carries TikTok's own words - e.g.
|
|
5418
|
+
'electric toothbrush' gets 'No results - This phrase may be associated with behavior or
|
|
5419
|
+
content that violates our guidelines...' from TikTok's own search page (try a related
|
|
5420
|
+
phrase such as 'toothbrush'). It is null whenever there are results. NO SORT AND NO
|
|
5421
|
+
FILTER PARAMETERS, DE ...
|
|
5380
5422
|
|
|
5381
5423
|
Raises:
|
|
5382
5424
|
ReefAPIError: when the call fails (failed calls are not charged).
|
|
@@ -8927,7 +8969,7 @@ class AsyncAmazonEngine(_Engine):
|
|
|
8927
8969
|
class AsyncEbayEngine(_Engine):
|
|
8928
8970
|
"""eBay API — search active listings, research sold prices, and fetch full item detail across 13 eBay marketplaces (no account required)
|
|
8929
8971
|
|
|
8930
|
-
Engine ``ebay`` (version 0.3.
|
|
8972
|
+
Engine ``ebay`` (version 0.3.5). Docs: https://reefapi.com/docs/ebay
|
|
8931
8973
|
|
|
8932
8974
|
Methods (method -> API action):
|
|
8933
8975
|
search -> search
|
|
@@ -9711,7 +9753,7 @@ class AsyncVintedEngine(_Engine):
|
|
|
9711
9753
|
class AsyncZillowEngine(_Engine):
|
|
9712
9754
|
"""Zillow API — US real estate data: for-sale, rental and sold listings, full property detail with Zestimate, price/tax history, schools, comps, agents, market trends, walk/transit/bike scores and home-value history
|
|
9713
9755
|
|
|
9714
|
-
Engine ``zillow`` (version 1.
|
|
9756
|
+
Engine ``zillow`` (version 1.8.0). Docs: https://reefapi.com/docs/zillow
|
|
9715
9757
|
|
|
9716
9758
|
Methods (method -> API action):
|
|
9717
9759
|
new_listings -> new_listings
|
|
@@ -9771,6 +9813,8 @@ class AsyncZillowEngine(_Engine):
|
|
|
9771
9813
|
max_hoa: Optional[int] = None,
|
|
9772
9814
|
days_on_max: Optional[int] = None,
|
|
9773
9815
|
keywords: Optional[str] = None,
|
|
9816
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
9817
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
9774
9818
|
) -> Any:
|
|
9775
9819
|
"""Search listings by location (for sale / for rent / recently sold), with structured
|
|
9776
9820
|
filters: price, beds, baths, home type, sqft, lot, year built, HOA, days-o...
|
|
@@ -9778,7 +9822,7 @@ class AsyncZillowEngine(_Engine):
|
|
|
9778
9822
|
Async version of :meth:`ZillowEngine.search` (same parameters).
|
|
9779
9823
|
Calls ``POST /zillow/v1/search``. Docs: https://reefapi.com/docs/zillow
|
|
9780
9824
|
"""
|
|
9781
|
-
return await self._c.call("zillow", "search", {"location": location, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords})
|
|
9825
|
+
return await self._c.call("zillow", "search", {"location": location, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within})
|
|
9782
9826
|
|
|
9783
9827
|
async def search_by_coordinates(
|
|
9784
9828
|
self,
|
|
@@ -9802,6 +9846,8 @@ class AsyncZillowEngine(_Engine):
|
|
|
9802
9846
|
max_hoa: Optional[int] = None,
|
|
9803
9847
|
days_on_max: Optional[int] = None,
|
|
9804
9848
|
keywords: Optional[str] = None,
|
|
9849
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
9850
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
9805
9851
|
) -> Any:
|
|
9806
9852
|
"""Search listings inside exact map bounds (returns more than the standard ~860-result cap),
|
|
9807
9853
|
with the same structured filters as search.
|
|
@@ -9809,7 +9855,7 @@ class AsyncZillowEngine(_Engine):
|
|
|
9809
9855
|
Async version of :meth:`ZillowEngine.search_by_coordinates` (same parameters).
|
|
9810
9856
|
Calls ``POST /zillow/v1/search_by_coordinates``. Docs: https://reefapi.com/docs/zillow
|
|
9811
9857
|
"""
|
|
9812
|
-
return await self._c.call("zillow", "search_by_coordinates", {"map_bounds": map_bounds, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords})
|
|
9858
|
+
return await self._c.call("zillow", "search_by_coordinates", {"map_bounds": map_bounds, "status": status, "max_results": max_results, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within})
|
|
9813
9859
|
|
|
9814
9860
|
async def search_by_url(
|
|
9815
9861
|
self,
|
|
@@ -9876,15 +9922,17 @@ class AsyncZillowEngine(_Engine):
|
|
|
9876
9922
|
max_hoa: Optional[int] = None,
|
|
9877
9923
|
days_on_max: Optional[int] = None,
|
|
9878
9924
|
keywords: Optional[str] = None,
|
|
9925
|
+
sort: Optional[Literal['relevance', 'price_desc', 'price_asc', 'zestimate_desc', 'zestimate_asc']] = None,
|
|
9926
|
+
sold_within: Optional[Literal['6m', '12m', '24m', '36m']] = None,
|
|
9879
9927
|
max_results: Optional[Any] = None,
|
|
9880
9928
|
) -> Any:
|
|
9881
|
-
"""Recently-sold listings (last 12 months) by location or map bounds,
|
|
9882
|
-
structured filters as search.
|
|
9929
|
+
"""Recently-sold listings (last 12 months; sold_within up to 36m) by location or map bounds,
|
|
9930
|
+
with the same structured filters as search.
|
|
9883
9931
|
|
|
9884
9932
|
Async version of :meth:`ZillowEngine.sold` (same parameters).
|
|
9885
9933
|
Calls ``POST /zillow/v1/sold``. Docs: https://reefapi.com/docs/zillow
|
|
9886
9934
|
"""
|
|
9887
|
-
return await self._c.call("zillow", "sold", {"location": location, "map_bounds": map_bounds, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "max_results": max_results})
|
|
9935
|
+
return await self._c.call("zillow", "sold", {"location": location, "map_bounds": map_bounds, "max_pages": max_pages, "fetch_all": fetch_all, "price_min": price_min, "price_max": price_max, "beds_min": beds_min, "baths_min": baths_min, "home_type": home_type, "sqft_min": sqft_min, "sqft_max": sqft_max, "lot_min": lot_min, "lot_max": lot_max, "year_built_min": year_built_min, "year_built_max": year_built_max, "max_hoa": max_hoa, "days_on_max": days_on_max, "keywords": keywords, "sort": sort, "sold_within": sold_within, "max_results": max_results})
|
|
9888
9936
|
|
|
9889
9937
|
async def agent(
|
|
9890
9938
|
self,
|
|
@@ -10652,7 +10700,7 @@ class AsyncRedditEngine(_Engine):
|
|
|
10652
10700
|
class AsyncTiktokShopEngine(_Engine):
|
|
10653
10701
|
"""TikTok Shop API — product detail with per-SKU price and stock, category browsing, seller profiles and catalogues, US keyword search, best-seller and deal feeds, and customer reviews across 10 markets (US, UK, Malaysia, Singapore, Thailand, Philippines, Vietnam, Indonesia, Japan, Mexico)
|
|
10654
10702
|
|
|
10655
|
-
Engine ``tiktok-shop`` (version 1.0
|
|
10703
|
+
Engine ``tiktok-shop`` (version 1.2.0). Docs: https://reefapi.com/docs/tiktok-shop
|
|
10656
10704
|
|
|
10657
10705
|
Methods (method -> API action):
|
|
10658
10706
|
product_detail -> product_detail
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.8"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|