Home > bitburner > WarehouseAPI > getMaterial
Get material data.
Signature:
getMaterial(divisionName: string, city: CityName | `${CityName}`, materialName: string): Material;
Parameter | Type | Description |
---|---|---|
divisionName | string | Name of the division |
city | CityName | `${CityName}` | Name of the city |
materialName | string | Name of the material |
Returns:
Material data
RAM cost: 10 GB