[KongchangAI]
Product星标历史API / GitHub Star History API

Star History API

An API provided by GitHub for querying the growth trend of a repository's stars. It returns star counts aggregated as a time series, bucketed by day or by hour, and does not return the identities of individual stargazers.

Timeline (last 90 days)

Oct 14

GitHub refactored the Star History API, reducing the requests needed to fetch trend data each time from about 2,500 to 24.

Unverified50%
Oct 14

The refactored Star History API no longer returns specific stargazer identity information, only aggregated time-series trend data.

Unverified50%
Oct 14

The old Star History API required 2,500 or even more paginated requests for popular repositories to enumerate all stargazers.

Unverified50%
Oct 14

After the refactor, the number of requests to the Star History API is determined by the time window and bucket granularity, decoupled from the repository's star scale.

Unverified50%
Oct 14

The cost of the refactor is a narrowing of the API's capabilities: developers can no longer use this interface to find out who starred a given repository.

Unverified50%
Oct 14

For the core scenario of displaying star history trends, aggregated data is already sufficient.

Unverified50%
Oct 14

If a developer's existing code is still parsing the stargazer identity field, they need to pay attention to changes in the interface's response structure and move to using aggregated trend data.

Unverified50%

All Facts (7)

Source Articles