GET
/
supported-metrics
/
Python
from artemis import Artemis

client = Artemis(
    api_key="My API Key",
)
response = client.asset.list_supported_metrics(
    symbol="symbol",
)
print(response.metrics)
{
  "metrics": [
    {
      "WEEKLY_COMMITS_SUB": {
        "label": "Weekly Sub Ecosystem Commits",
        "tags": [
          {
            "value": "development_activity",
            "label": "Development Activity"
          }
        ],
        "internal_data_source": "github",
        "aggregation_type": "AVERAGE",
        "unit": "NOMINAL",
        "description": "Number of weekly commits to sub ecosystem repositories for a given ecosystem",
        "base_metric": null,
        "accepts_date": true,
        "cuts": [
          {
            "granularity": "DAY",
            "dimension_type": "TOTAL"
          }
        ],
        "thumbnail_url": null,
        "source": "Source: Artemis",
        "source_link": null,
        "methodology": "We use the electric capital developer ecosystem mapping to identify the sub-ecosystem repositories. We then use the GitHub API to count the number of commits made to these repositories in the last 7 days. We only look at commits made to the main branch. Due to limitations of The Github API data there is a delay of 2 weeks for the data to be available."
      }
    }
  ],
  "...": null
}

Authorizations

APIKey
string
query
required

Available for Enterprise accounts in the Artemis Terminal settings page.

Query Parameters

symbol
string
required

Symbol

Response

An unpaged list of metric names and the metadata associated with the metrics

The response is of type object.