cURL
curl --request GET \ --url https://devtune.ai/api/v2/projects/{projectId}/adoption/metrics \ --header 'Authorization: Bearer <token>'
{ "data": { "metrics": [ { "domain": "<string>", "isPrimary": true, "metric": "<string>", "source": "<string>", "value": 123, "capturedAt": "2023-11-07T05:31:56Z" } ], "domains": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "domain": "<string>", "isPrimary": true } ] }, "meta": { "timestamp": "2023-11-07T05:31:56Z", "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Returns npm downloads and GitHub stars trends for project domains.
API key with dtk_live_ prefix. Obtain from Settings > API Keys.
1 <= x <= 365
github_stars
weekly_downloads
Adoption metrics data
Show child attributes