# Sample code

No need to start from scratch; we've got dozens of sample Packs for your to browse, copy, and learn from. Small Packs that demonstrate a single feature are organized by topic, while the larger and more complete Packs each have their own page.

## By topic

### Actions

Samples that show how to create an action formula, for use in a button or automation.

[View](topic/action/)

### API setup

Samples that show how to configure a Pack to connect to various popular APIs.

[View](topic/apis/)

### Authentication

Samples that show how to authenticate with an API.

[View](topic/authentication/)

### Autocomplete

Samples that show how to provide autocomplete options for a parameter.

[View](topic/autocomplete/)

### Cards

Samples that show how to create cards to preview content.

[View](topic/card/)

### Column formats

Samples that show how to create a column format.

[View](topic/column-format/)

### Data types

Samples that show how to return values of various data types.

[View](topic/data-type/)

### Dates and times

Samples that show how to work with dates and times.

[View](topic/dates/)

### Dynamic sync tables

Samples that show how to create a dynamic sync table.

[View](topic/dynamic-sync-table/)

### Fetcher

Samples that show how to fetch data from an external source.

[View](topic/fetcher/)

### Formulas

Samples that show how to create a formula.

[View](topic/formula/)

### Images & files

Samples that show how to work with images and files.

[View](topic/image/)

### Parameters

Samples that show how to accept parameters from the user.

[View](topic/parameter/)

### Schemas

Samples that show how to define a schema, to represent rich objects.

[View](topic/schema/)

### Sync tables

Samples that show how to create a sync table.

[View](topic/sync-table/)

### Two-way sync

Samples that show how to create sync tables with editable values.

[View](topic/two-way/)

## Full

### Cats

A Pack that generates images of cats.

[View](full/cats/)

### Daylight

A Pack that fetches data about the expected hours of daylight at a location.

[View](full/daylight/)

### Dungeons & Dragons

A Pack that uses an API to retrieve information about the game Dungeons & Dragons.

[View](full/dnd/)

### GitHub

A Pack that integrates with GitHub.

[View](full/github/)

### Hello World

A simple "Hello World" Pack.

[View](full/hello-world/)

### Math

A Pack that provides various math operations.

[View](full/math/)

### Todoist

A Pack that integrates with the application Todoist.

[View](full/todoist/)
