# Snapcraft

> Find Ubuntu Snap Store packages and track stable releases for the architecture you use.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/snapcraft

## Actions

### Find Snap Store packages

Search the public Snap Store by keyword and get matching package names and details.

**Inputs**

- Query (`query`, text, required): The package name or keywords to search for.
- Architecture (`architecture`, text): The CPU architecture to look up. Defaults to amd64. One of: `amd64`, `arm64`, `armhf`, `i386`, `ppc64el`, `riscv64`, `s390x`.

**Outputs**

- `data` (object): The response from Snapcraft.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "name": "example",
        "snap": {
          "license": "example",
          "name": "example",
          "publisher": {
            "display-name": "example",
            "username": "example"
          },
          "store-url": "example",
          "summary": "example",
          "title": "example"
        }
      }
    ]
  }
}
```

### Get snap releases

Get a snap's published versions, revisions and release dates by channel.

**Inputs**

- Snap name (`snap_name`, text, required): The Snap Store package name, such as hello-world.
- Architecture (`architecture`, text): The CPU architecture to look up. Defaults to amd64. One of: `amd64`, `arm64`, `armhf`, `i386`, `ppc64el`, `riscv64`, `s390x`.

**Outputs**

- `data` (object): The response from Snapcraft.

**Example output**

```json
{
  "data": {
    "name": "example",
    "releases": [
      {
        "channel_name": "example",
        "released_at": "example",
        "revision": 1,
        "risk": "example",
        "track": "example",
        "version": "example"
      }
    ],
    "snap": {
      "license": "example",
      "name": "example",
      "publisher": {
        "display-name": "example",
        "username": "example"
      },
      "store-url": "example",
      "summary": "example",
      "title": "example"
    }
  }
}
```
