2022-10-21 17:16:00 +02:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [bitburner](./bitburner.md) > [WarehouseAPI](./bitburner.warehouseapi.md) > [getProduct](./bitburner.warehouseapi.getproduct.md)
|
|
|
|
|
|
|
|
## WarehouseAPI.getProduct() method
|
|
|
|
|
|
|
|
Get product data
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Signature:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
```typescript
|
2023-05-16 00:06:57 +02:00
|
|
|
getProduct(divisionName: string, cityName: CityName | `${CityName}`, productName: string): Product;
|
2022-10-21 17:16:00 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| divisionName | string | Name of the division |
|
2023-10-03 02:14:44 +02:00
|
|
|
| cityName | [CityName](./bitburner.cityname.md) \| \`${[CityName](./bitburner.cityname.md)<!-- -->}\` | Name of the city |
|
2022-10-21 17:16:00 +02:00
|
|
|
| productName | string | Name of the product |
|
|
|
|
|
2023-02-11 19:18:50 +01:00
|
|
|
**Returns:**
|
2022-10-21 17:16:00 +02:00
|
|
|
|
|
|
|
[Product](./bitburner.product.md)
|
|
|
|
|
|
|
|
product data
|
|
|
|
|