# Chocolatey Community Repository

> Search Windows package metadata, look up exact versions and follow new releases in Chocolatey's public repository.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/chocolatey

## Actions

### Get a Chocolatey package version

Read a specific version's release metadata, dependencies and licence link.

**Inputs**

- Package ID (`package_id`, text, required): Chocolatey package ID, such as 7zip.
- Version (`version`, text, required): Exact version from the release list.

**Outputs**

- `data` (object): The response from Chocolatey Community Repository.

**Example output**

```json
{
  "data": {
    "dependencies": "example",
    "description": "example",
    "gallery_url": "example",
    "id": "example",
    "is_prerelease": true,
    "license_url": "example",
    "published": "example",
    "title": "example",
    "version": "example"
  }
}
```

### List Chocolatey package versions

Browse published versions of a package, including prereleases.

**Inputs**

- Package ID (`package_id`, text, required): Chocolatey package ID, such as 7zip.
- Page token (`page_token`, text): Next page token from the previous result.
- Limit (`limit`, number): Number of packages to return (1 to 100). From 1 to 100.

**Outputs**

- `data` (object): The response from Chocolatey Community Repository.

**Example output**

```json
{
  "data": {
    "next_page_token": "example",
    "packages": [
      {
        "dependencies": "example",
        "description": "example",
        "gallery_url": "example",
        "id": "example",
        "is_prerelease": true,
        "license_url": "example",
        "published": "example",
        "title": "example",
        "version": "example"
      }
    ]
  }
}
```

### Search Chocolatey packages

Find Windows packages by keyword and read package IDs, version numbers and gallery links.

**Inputs**

- Query (`query`, text, required): Text to look for in package metadata.
- Page token (`page_token`, text): Next page token from the previous result.
- Limit (`limit`, number): Number of packages to return (1 to 100). From 1 to 100.

**Outputs**

- `data` (object): The response from Chocolatey Community Repository.

**Example output**

```json
{
  "data": {
    "next_page_token": "example",
    "packages": [
      {
        "dependencies": "example",
        "description": "example",
        "gallery_url": "example",
        "id": "example",
        "is_prerelease": true,
        "license_url": "example",
        "published": "example",
        "title": "example",
        "version": "example"
      }
    ]
  }
}
```
