[Home](./index.md) > [bitburner](./bitburner.md) > [OfficeAPI](./bitburner.officeapi.md) > [getOffice](./bitburner.officeapi.getoffice.md)
## OfficeAPI.getOffice() method
Signature:
```typescript
getOffice(divisionName: string, cityName: string): Office;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| divisionName | string | |
| cityName | string | |
Returns:
[Office](./bitburner.office.md)