Rating-API

Versorge die App, Bildschirme oder Website deines Clubs mit Live-PadelRank-Ratings.

Schnellstart

Authentifiziere jede Anfrage mit deinem API-Schlüssel, per Authorization: Bearer-Header oder ?key=-Query-Parameter.

curl "function(){throw Error("Attempted to call RATING_API_BASE() from the server but RATING_API_BASE is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")}/v1/player?username=demoplayer" \
  -H "Authorization: Bearer prk_your_key_here"

Endpunkte

Basis-URL: https://us-central1-paddlerank-app.cloudfunctions.net/ratingApi

Beispielantwort

{
  "player": {
    "username": "demoplayer",
    "name": "Demo Player",
    "rating": 18,
    "reliability": 72,
    "matches": 24,
    "country": "ES",
    "city": "Madrid"
  }
}

Deine API-Schlüssel

Erstelle einen Schlüssel zum Start. Der vollständige Schlüssel wird einmal angezeigt, bewahre ihn sicher auf.

Laden…