> ## Documentation Index
> Fetch the complete documentation index at: https://alhwyn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get calendar

> Fetch the Luma calendar tied to your API key with luma.calendar.get(), returning the calendar ID, name, URL, timezone, and theme settings.

<Badge color="purple">SDK</Badge> `luma.calendar.get(): Promise<Calendar>`

Returns the calendar tied to your API key.

<RequestExample>
  ```typescript Example theme={null}
  import { Luma } from "@alhwyn/luma";

  const luma = new Luma(process.env.LUMA_API_KEY!);
  const calendar = await luma.calendar.get();

  console.log(calendar.name, calendar.api_id);
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "api_id": "cal-abc123",
    "name": "My events calendar"
  }
  ```
</ResponseExample>

### Parameters

Takes no parameters.

### Test it

```typescript theme={null}
import { Luma } from "@alhwyn/luma";

const luma = new Luma(process.env.LUMA_API_KEY!);
const calendar = await luma.calendar.get();
console.log(calendar.name);
```
