Naar de inhoud
GET /v1/repo/contributors

Contributors

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/github-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/github-api/v1/repo/contributors" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/github-api/v1/repo/contributors", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/github-api/v1/repo/contributors");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/github-api/v1/repo/contributors",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": [
        {
            "id": 251370,
            "url": "https://api.github.com/users/Spaceghost",
            "type": "User",
            "login": "Spaceghost",
            "node_id": "MDQ6VXNlcjI1MTM3MA==",
            "html_url": "https://github.com/Spaceghost",
            "gists_url": "https://api.github.com/users/Spaceghost/gists{/gist_id}",
            "repos_url": "https://api.github.com/users/Spaceghost/repos",
            "avatar_url": "https://avatars.githubusercontent.com/u/251370?v=4",
            "events_url": "https://api.github.com/users/Spaceghost/events{/privacy}",
            "site_admin": false,
            "gravatar_id": "",
            "starred_url": "https://api.github.com/users/Spaceghost/starred{/owner}{/repo}",
            "contributions": 1,
            "followers_url": "https://api.github.com/users/Spaceghost/followers",
            "following_url": "https://api.github.com/users/Spaceghost/following{/other_user}",
            "user_view_type": "public",
            "organizations_url": "https://api.github.com/users/Spaceghost/orgs",
            "subscriptions_url": "https://api.github.com/users/Spaceghost/subscriptions",
            "received_events_url": "https://api.github.com/users/Spaceghost/received_events"
        },
        {
            "id": 583231,
            "url": "https://api.github.com/users/octocat",
            "type": "User",
            "login": "octocat",
            "node_id": "MDQ6VXNlcjU4MzIzMQ==",
            "html_url": "https://github.com/octocat",
            "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}",
            "repos_url": "https://api.github.com/users/octocat/repos",
            "avatar_url": "https://avatars.githubusercontent.com/u/583231?v=4",
            "events_url": "https://api.github.com/users/octocat/events{/privacy}",
            "site_admin": false,
            "gravatar_id": "",
            "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}",
            "contributions": 1,
            "followers_url": "https://api.github.com/users/octocat/followers",
            "following_url": "https://api.github.com/users/octocat/following{/other_user}",
            "user_view_type": "public",
            "organizations_url": "https://api.github.com/users/octocat/orgs",
            "subscriptions_url": "https://api.github.com/users/octocat/subscriptions",
            "received_events_url": "https://api.github.com/users/octocat/received_events"
        },
        {
            "id": 94719050,
            "url": "https://api.github.com/users/Cameron423698",
            "type": "User",
            "login": "Cameron423698",
            "node_id": "U_kgDOBaVMSg",
            "html_url": "https://github.com/Cameron423698",
            "gists_url": "https://api.github.com/users/Cameron423698/gists{/gist_id}",
            "repos_url": "https://api.github.com/users/Cameron423698/repos",
            "avatar_url": "https://avatars.githu
…