UNPKG

e-scraper

Version:

Collect products, reviews, locations from a different E-Commerce stores. Currently supporting Target.Com and soon more.

19 lines (18 loc) 482 B
import { ItemEntity, ResultEntity } from '.'; export declare type Stores = 'Target'; export declare type ScrapingType = 'product' | 'reviews' | 'location'; export interface EntryOptions { store: Stores; productId?: string; keyword?: string; number?: number; offset?: number; storeId?: number; sponsoredProducts?: number; } export interface Output { total: number; has_more: boolean; next: number; output: ItemEntity[] | ResultEntity[]; }