GlassesUSA
GlassesUSA's own Virtual Try-On + prescription-checkout flow — getProduct reads one frame's real live price, star rating, VTO availability and Rx…
GlassesUSA's own Virtual Try-On + prescription-checkout flow — getProduct reads one frame's real live price, star rating, VTO availability and Rx eligibility off its own product page.
Domain: glassesusa.com
Also known as: GlassesUSA, GlassesUSA.com, Glasses USA
Call it directly
bowmark.providers.glassesusa.search(query: string): Promise<GlassesusaSearchResult[]>
bowmark.providers.glassesusa.getProduct(url: string): Promise<GlassesusaProduct>Functions
| Function | What it does |
|---|---|
search | Runs GlassesUSA's own search/brand-filter and returns matching frames with their live selling prices. |
getProduct | Reads one GlassesUSA product page — real live price (plus the crossed-out 'was' price when on sale), star rating and review count, whether Virtual Try-On is offered, and whether the listing… |
Types
interface GlassesusaProduct {
url: string;
title: string;
price: number | null; // real, current selling price, USD
wasPrice: number | null; // the crossed-out "was" price, when shown
currency: string;
rating: number | null;
reviewCount: number | null;
vtoAvailable: boolean; // GlassesUSA's own Virtual Try-On is offered
prescriptionEligible: boolean; // orderable with prescription lenses
}
interface GlassesusaSearchResult {
url: string;
title: string;
price: number;
}