Endpoints
- Core Artemis Assets
- Developer Activity
Core Artemis Assets
List Available Metrics for Assets by Symbol
List all of the metrics supported by Artemis for an asset given the symbol of that asset.
GET
/
supported-metrics
/
Copy
Ask AI
import os
from artemis import Artemis
client = Artemis(
api_key=os.environ.get("ARTEMIS_API_KEY"), # This is the default and can be omitted
)
response = client.asset.list_supported_metrics(
symbol="symbol",
)
print(response.metrics)
Copy
Ask AI
{
"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
Available for Enterprise accounts in the Artemis Terminal settings page.
Query Parameters
Symbol
Response
200
application/json
An unpaged list of metric names and the metadata associated with the metrics
The response is of type object
.
Copy
Ask AI
import os
from artemis import Artemis
client = Artemis(
api_key=os.environ.get("ARTEMIS_API_KEY"), # This is the default and can be omitted
)
response = client.asset.list_supported_metrics(
symbol="symbol",
)
print(response.metrics)
Copy
Ask AI
{
"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
}
Assistant
Responses are generated using AI and may contain mistakes.