Mika Scraper / TokopediaProduct
Interface: TokopediaProduct
Defined in: src/_other-scraper/tokopedia_search.ts:6
The TokopediaProduct
interface defines the structure for a product object retrieved from Tokopediaโs API.
Properties
id
id:
string
The unique identifier for the product.
Defined in: src/_other-scraper/tokopedia_search.ts:7
name
name:
string
The name of the product.
Defined in: src/_other-scraper/tokopedia_search.ts:8
url
url:
string
The URL for the productโs page on Tokopedia.
Defined in: src/_other-scraper/tokopedia_search.ts:9
price
price:
object
An object representing the productโs price details.
Defined in: src/_other-scraper/tokopedia_search.ts:10
text
text:
string
The textual representation of the price.
number
number:
number
The numerical value of the price.
mediaURL
mediaURL:
object
An object containing media related to the product.
Defined in: src/_other-scraper/tokopedia_search.ts:14
image
image:
string
The URL for the productโs image.
shop
shop:
object
An object representing the shop selling the product.
Defined in: src/_other-scraper/tokopedia_search.ts:17
name
name:
string
The name of the shop.
city
city:
string
The city where the shop is located.