Zum Inhalt springen
GET /v1/search/users

Search users

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/github-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/github-api/v1/search/users" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/github-api/v1/search/users", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/github-api/v1/search/users");
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/search/users",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "items": [
            {
                "id": 1024025,
                "url": "https://api.github.com/users/torvalds",
                "type": "User",
                "login": "torvalds",
                "score": 1,
                "node_id": "MDQ6VXNlcjEwMjQwMjU=",
                "html_url": "https://github.com/torvalds",
                "gists_url": "https://api.github.com/users/torvalds/gists{/gist_id}",
                "repos_url": "https://api.github.com/users/torvalds/repos",
                "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
                "events_url": "https://api.github.com/users/torvalds/events{/privacy}",
                "site_admin": false,
                "gravatar_id": "",
                "starred_url": "https://api.github.com/users/torvalds/starred{/owner}{/repo}",
                "followers_url": "https://api.github.com/users/torvalds/followers",
                "following_url": "https://api.github.com/users/torvalds/following{/other_user}",
                "user_view_type": "public",
                "organizations_url": "https://api.github.com/users/torvalds/orgs",
                "subscriptions_url": "https://api.github.com/users/torvalds/subscriptions",
                "received_events_url": "https://api.github.com/users/torvalds/received_events"
            },
            {
                "id": 4122993,
                "url": "https://api.github.com/users/pmt",
                "type": "User",
                "login": "pmt",
                "score": 1,
                "node_id": "MDQ6VXNlcjQxMjI5OTM=",
                "html_url": "https://github.com/pmt",
                "gists_url": "https://api.github.com/users/pmt/gists{/gist_id}",
                "repos_url": "https://api.github.com/users/pmt/repos",
                "avatar_url": "https://avatars.githubusercontent.com/u/4122993?v=4",
                "events_url": "https://api.github.com/users/pmt/events{/privacy}",
                "site_admin": false,
                "gravatar_id": "",
                "starred_url": "https://api.github.com/users/pmt/starred{/owner}{/repo}",
                "followers_url": "https://api.github.com/users/pmt/followers",
                "following_url": "https://api.github.com/users/pmt/following{/other_user}",
                "user_view_type": "public",
                "organizations_url": "https://api.github.com/users/pmt/orgs",
                "subscriptions_url": "https://api.github.com/users/pmt/subscriptions",
                "received_events_url": "https://api.github.com/users/pmt/received_events"
            },
            {
                "id": 12232166,
                "url": "https://api.github.com/users/TorvaldsDB",
                "type": "User",
                "login": "TorvaldsDB",
                "score": 1,
                "node_id": "MDQ6VXNlcjEyMjMyMTY2",
                "html_url": "https://github.com/TorvaldsDB",
                "gists_url": "https://api.gith
…