Authorizations
Available for Enterprise accounts in the Artemis Terminal settings page.
Query Parameters
Symbol
Response
An unpaged list of metric names and the metadata associated with the metrics
The response is of type object
.
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
}
List all of the metrics supported by Artemis for an asset given the symbol of that asset.
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
}
Available for Enterprise accounts in the Artemis Terminal settings page.
Symbol
An unpaged list of metric names and the metadata associated with the metrics
The response is of type object
.