urlstringwymagane
GitHub repository URL, e.g. https://github.com/openai/whisper.
https://api.sandbase.ai/v1/api/github/repository-issuesList a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and last-activity date.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
List a GitHub repository's issues and pull requests by repository URL (GitHub lists pull requests as issues), with each one's author, state, labels, counts and body. Filter by state, sort and last-activity date.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "github/repository-issues", "url": "https://github.com/openai/whisper"}'
The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | GitHub repository URL, e.g. https://github.com/openai/whisper. |
limit | integer | No | Rows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size. Default 100. |
order | string | No | Sort direction. Defaults to desc. One of: desc, asc. |
page | integer | No | 1-based page of issues. Request page + 1 while hasMore is true. Default 1. |
since | string | No | Only issues last-active on or after this date (YYYY-MM-DD). |
sort | string | No | Sort by creation date, last update, or number of comments. Defaults to opened. One of: created, updated, comments. |
state | string | No | Which issues to list. Defaults to open. One of: open, closed, all. |
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/github/repository-issues" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://github.com/openai/whisper",
"page": 1,
"limit": 100
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
urlstringwymaganeGitHub repository URL, e.g. https://github.com/openai/whisper.
pageinteger1-based page of issues. Request page + 1 while hasMore is true.
Domyślnie: 1
sortstringSort by creation date, last update, or number of comments. Defaults to opened.
Możliwe wartości: created, updated, comments
limitintegerRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.
Domyślnie: 100
orderstringSort direction. Defaults to desc.
Możliwe wartości: desc, asc
sincestringOnly issues last-active on or after this date (YYYY-MM-DD).
statestringWhich issues to list. Defaults to open.
Możliwe wartości: open, closed, all
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
GitHub Repository IssuesTo API GitHub | Od $0.0012 za wywołanie | JSON |
GitHub | Od $0.0012 za wywołanie | JSON |
GitHub | Od $0.0012 za wywołanie | JSON |
GitHub | Od $0.0012 za wywołanie | JSON |
GitHub | Od $0.0012 za wywołanie | JSON |
GitHub | Od $0.0012 za wywołanie | JSON |
Przewodniki:Best GitHub API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/github/repository-issues z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Od $0.0012 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: url (string). Opcjonalne: page (integer), sort (jedna z opcji: created, updated, comments), limit (integer), order (jedna z opcji: desc, asc), since (string) i state (jedna z opcji: open, closed, all). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. GitHub Repository Issues działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API GitHub.