# getCompanyGithubRepositories

**Identifier:** `predictleads_getCompanyGithubRepositories`

**Provider:** [PredictLeads](https://kirha.com/providers/predictleads.md)

Public GitHub repositories of a company with their latest stars, forks and last update. Use it to gauge a company's open-source footprint and developer traction.

## Run it with the CLI

```bash
kirha tools run predictleads_getCompanyGithubRepositories \
  --input '{
    "company": "stripe.com"
  }'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "predictleads_getCompanyGithubRepositories",
  "input": {
    "company": "stripe.com"
  }
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "company": {
      "description": "Company website domain, passed as is with no prior lookup, e.g., stripe.com",
      "type": "string"
    },
    "firstSeenFrom": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "firstSeenUntil": {
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "type": "string"
    },
    "limit": {
      "default": 20,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "page": {
      "maximum": 9007199254740991,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "company"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "repositories": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "companyDomain": {
            "type": "string"
          },
          "companyName": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "firstSeenOn": {
            "type": "string"
          },
          "forks": {
            "type": "number"
          },
          "lastUpdatedOn": {
            "type": "string"
          },
          "measuredOn": {
            "type": "string"
          },
          "stars": {
            "type": "number"
          },
          "url": {
            "type": "string"
          },
          "watchers": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "total",
    "repositories"
  ],
  "type": "object"
}
```

-----

[All PredictLeads tools](https://kirha.com/providers/predictleads.md) · [< Back to tools list](https://kirha.com/tools.md)