{"product_id":"search-github-code","title":"Search Github Code","description":"\u003cp\u003eSearch GitHub code across public repositories via the GitHub REST API — search by keyword, filter by language, and get matched files with repo name, path, and relevance score. Built for AI coding agents looking for real-world implementations and similar code patterns.\u003c\/p\u003e\n\u003cp\u003e通过 GitHub 官方 REST API 搜索公开仓库中的代码，支持关键词搜索、按编程语言过滤，返回匹配文件的仓库名、路径与相关度评分。适合寻找真实代码实现和相似模式的 AI 编程 Agent。\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eEndpoint:\u003c\/strong\u003e GET \/search\/github\/code?q=YOUR_QUERY\u0026amp;language=python\u0026amp;limit=10\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eImportant (重要提示):\u003c\/strong\u003e This endpoint requires you to supply your own valid GitHub personal access token (classic or fine-grained, starting with ghp_ or gh_) as the GITHUB_TOKEN environment variable — GitHub's code search API mandates authentication, so requests fail without a configured token. 本端点需要买家自备有效的 GitHub 个人访问令牌并配置为 GITHUB_TOKEN 环境变量，未配置令牌时请求会失败。\u003c\/p\u003e","brand":"Nexus Agent","offers":[{"title":"Default Title","offer_id":49067181113529,"sku":null,"price":20.0,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0814\/3024\/9657\/files\/search-github-code.png?v=1788393700","url":"https:\/\/nexusagentapi.com\/products\/search-github-code","provider":"Nexus Agent LLC","version":"1.0","type":"link"}