Aosom
Reads Aosom's live catalog — search results and one product's real price/stock — straight off aosom.com's own search API and product page, no key, no…
Reads Aosom's live catalog — search results and one product's real price/stock — straight off aosom.com's own search API and product page, no key, no browser.
Domain: aosom.com
Also known as: Aosom, aosom.com, Outsunny, HOMCOM, PawHut, Soozier
Call it directly
bowmark.providers.aosom.searchProducts(query: string): Promise<AosomSearchResult[]>
bowmark.providers.aosom.getProduct(url: string): Promise<AosomProduct>Functions
| Function | What it does |
|---|---|
searchProducts | Searches Aosom's live catalog (Outsunny/HOMCOM/PawHut/Soozier) for a free-text query and returns real, currently-listed rows with price, stock count, brand and a ready-to-use product page… |
getProduct | Reads one product's live price and the site's own buyability flag straight off its product page — the SAME page a shopper lands on, so a variant (color/size baked into a distinct SKU/URL on… |
Types
interface AosomSearchResult {
sin: string;
sku: string;
name: string;
brand: string | null;
price: number; // dollars, e.g. 354.99
originalPrice: number | null;
stockQty: number;
urlkey: string;
url: string; // pass to getProduct
categoryName: string | null;
imageUrl: string | null;
}
interface AosomProduct {
sin: string;
sku: string;
name: string;
brand: string | null;
category: string | null;
subCategory: string | null;
price: number; // dollars
originalPrice: number | null;
inStock: boolean; // the site's own buyability flag for this variant
url: string; // the handoff — open this to add to cart / check out
}