Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

GitHub User Repositories

API दस्तावेज़
https://api.sandbase.ai/v1/api/github/user-repositories

List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.

मूल्य
से $0.0012USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 4 वैकल्पिक

प्लेग्राउंड

इनपुट
GitHub username.
Repository ordering.
Which repositories to include: owner (default), all, or member.
Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
Sort direction, ascending or descending, paired with sort.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

GitHub User Repositories API

List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "github/user-repositories", "handle": "torvalds"}'

The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.

Parameters

NameTypeRequiredDescription
handlestringYesGitHub username.
cursorstringNoOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
directionstringNoSort direction, ascending or descending, paired with sort. One of: asc, desc.
sortstringNoRepository ordering. One of: created, updated, pushed, full_name. Default "updated".
typestringNoWhich repositories to include: owner (default), all, or member. One of: owner, all, member.

Pricing

Billed at the actual cost of each call, about $0.0012 per request. A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
GitHub$0.0012 प्रति कॉल सेJSON
GitHub$0.0012 प्रति कॉल सेJSON
GitHub$0.0012 प्रति कॉल सेJSON
GitHub$0.0012 प्रति कॉल सेJSON
GitHub$0.0012 प्रति कॉल सेJSON
GitHub$0.0012 प्रति कॉल सेJSON

गाइड्स:Best GitHub API in 2026: Pricing Compared

प्रश्न

FAQ

GitHub User Repositories API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/github/user-repositories पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

GitHub User Repositories API की लागत कितनी है?

$0.0012 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

GitHub User Repositories API कौन-से parameters स्वीकार करती है?

आवश्यक: handle (string)। वैकल्पिक: sort (created, updated, pushed, full_name में से एक), type (owner, all, member में से एक), cursor (string) और direction (asc, desc में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

GitHub User Repositories API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक GitHub developer account या API key चाहिए?

नहीं। GitHub User Repositories SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से GitHub API access के लिए आवेदन करने की आवश्यकता नहीं है।