Github Activity

Definition

Unlike Development Activity, which excludes some of the events, the GitHub Activity metric uses all events to compute the metric.

There are 3 github activity metrics available:

  • github_activity - Computed on-the-fly using the Github data. Because of this, the metric can compute data for any asset or any random Github organization that has public repositories like Google, Facebook, or any other organization.
  • github_activity_1d - Precomputed daily metric for each asset that is available on Santiment. This allows the metric to be aggregated when the value is needed for all assets at once.
  • ecosystem_github_activity - Precomputed for each ecosystem. An ecosystem github activity is defined as the sum of the github activities of all assets that belong to it. For example the ethereum ecosystem contains all the projects that build on the Ethereum blockchain or contribute to the blockchain in any other way.

Access

Free Access


Data Type

Timeseries Data


Change Metrics

Change Metrics


Frequency


Latency

Development Activity Data Latency


Available Assets


SanAPI

Fetch the GitHub activity for an asset:

{
getMetric(metric: "github_activity") {
timeseriesDataJson(
slug: "santiment"
from: "2020-01-13T00:00:00Z"
to: "2020-01-18T00:00:00Z"
interval: "1d"
)
}
}

Fetch the github_activity for an arbitrary organization. You need to provide only the organization name to the parameter, not the whole URL. Github links look like this: https://github.com/<organization>/<repository>.

{
getMetric(metric: "github_activity") {
timeseriesDataJson(
selector: {organization: "google"}
from: "2020-01-13T00:00:00Z"
to: "2020-01-18T00:00:00Z"
interval: "1d"
)
}
}

Fetch the ecosystem_github_activity, combining the GitHub activities of all assets that contribute to that ecosystem:

{
getEcosystems(ecosystems: ["ethereum"]) {
timeseriesDataJson(
metric: "ecosystem_github_activity"
from: "2024-03-01T00:00:00Z"
to: "2024-03-10T00:00:00Z"
interval: "1d")
}
}

To check what assets are part of the ecosystem and what are their github links:

{
getEcosystems(ecosystems: ["ethereum"]) {
name
projects {
slug
githubLinks
}
}
}

Run in Explorer


GitHub Activity Change for Ethereum Repository Over 7 Days

{
getMetric(metric: "github_activity_change_30d") {
timeseriesDataJson(
selector: {slug: "ethereum"}
from: "2024-01-01T00:00:00Z"
to: "2024-01-07T00:00:00Z"
interval: "1d"
)
}
}

Full list of metrics

The full list of GitHub Activity metrics is:

Open Metrics List
  • ecosystem_github_activity
  • github_activity_change_30d