{"adoption": {"forks": 1092, "observed_at": "2026-08-28T04:07:48.450827+00:00", "stars": 3200}, "canonical_url": "https://ross.abutalabs.com/products/xdevplatform-samples", "card": {"archived": false, "artifact_type": "learning-resource", "description": "Sample code for the X API v2 endpoints", "domain": ["apis", "social-media", "developer-tools", "tutorials"], "enriched": true, "function": ["http-client", "developer-tools", "sdk"], "health_score": 64, "homepage": "https://docs.x.com/x-api/getting-started/about-x-api", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["xdevplatform/samples"], "name": "xdevplatform/samples", "platform": ["python", "jvm", "cross-platform"], "pushed_at": "2026-03-20T01:39:45+00:00", "repo": "xdevplatform/samples", "stars": 3200, "tags": ["x-api", "twitter-api", "code-samples", "oauth", "api-examples", "nodejs"], "topics": ["twitter", "twitter-api", "ruby", "java", "python", "nodejs", "javascript", "twitter-api-v2"], "urls": [], "use_cases": ["learn how to call the X API v2", "search recent posts with the twitter api", "post a tweet programmatically using oauth 2.0", "stream filtered tweets in real time", "upload media to X via the api", "manage followers, blocks, and mutes through the api", "example code for twitter api in ruby or java"], "what_it_is": "A collection of working sample code for the X (Twitter) API v2, with examples in Python, JavaScript, Ruby, Java, and R covering posts, users, timelines, streams, and more. It includes LLM-friendly documentation files and a machine-readable endpoint catalog.", "when_to_avoid": ["you need a production-ready client library rather than example scripts", "you are integrating with a platform other than X/Twitter", "you need X API v1.1 legacy endpoint coverage"], "when_to_choose": ["you want copy-paste working examples for X API v2 endpoints", "you need samples across multiple languages like Python, JavaScript, Ruby, Java, or R", "you are building a bot or integration and need auth patterns (bearer token, OAuth 2.0 PKCE, OAuth 1.0a)"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/xdevplatform-samples", "repo": "xdevplatform/samples", "role": "main", "score": 65}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:48.450827+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:24:50.720905+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "8da822f65162a495033433eb845712e16af41bb21513221bcdc03ed42a6db3ec", "fetched_at": "2026-08-28T04:07:48.450827+00:00", "kind": "readme", "missing": false, "url": "https://github.com/xdevplatform/samples"}, {"content_hash": "3ddd286016d166859f8e0a7abb3a0a39438c7507a5aded28c1f2b7d4c1706ac1", "fetched_at": "2026-08-29T09:38:31.873359+00:00", "kind": "homepage", "missing": false, "url": "https://docs.x.com/x-api/getting-started/about-x-api"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 73, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2212, "days_push": 167, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 65, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}