# Google Fonts

> Find font families for design workflows and look up their styles, supported scripts and font file links.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/google-fonts

## Actions

### Get a font family

Look up a font family by name, including its variants, supported scripts and download links.

**Inputs**

- Family (`family`, text, required): The exact family name, such as Roboto.

**Outputs**

- `data` (object): The response from Google Fonts.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "category": "example",
        "family": "example",
        "files": {},
        "lastModified": "example",
        "subsets": [
          "example"
        ],
        "variants": [
          "example"
        ],
        "version": "example"
      }
    ]
  }
}
```

### List font families

Find families by font category or writing system, with optional sorting by popularity or recent changes.

**Inputs**

- Category (`category`, text): The kind of font to find. One of: `serif`, `sans-serif`, `monospace`, `display`, `handwriting`.
- Subset (`subset`, text): A supported writing system, such as latin or greek.
- Sort (`sort`, text): How to order the families. One of: `alpha`, `date`, `popularity`, `style`, `trending`.

**Outputs**

- `data` (object): The response from Google Fonts.

**Example output**

```json
{
  "data": {
    "items": [
      {
        "category": "example",
        "family": "example",
        "files": {},
        "lastModified": "example",
        "subsets": [
          "example"
        ],
        "variants": [
          "example"
        ],
        "version": "example"
      }
    ]
  }
}
```
