Alimentez l'app, les écrans ou le site de votre club avec les classements PadelRank en direct.
Authentifiez chaque requête avec votre clé d'API, via un en-tête Authorization: Bearer ou un paramètre ?key=.
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"https://us-central1-paddlerank-app.cloudfunctions.net/ratingApi/v1/player?username=<username>Le classement, la fiabilité, les matchs et la localisation d'un joueur.
/v1/rankings?country=<ISO2>&limit=<1-100>Meilleurs joueurs, au niveau mondial ou par pays (ISO 3166 alpha-2).
{
"player": {
"username": "demoplayer",
"name": "Demo Player",
"rating": 18,
"reliability": 72,
"matches": 24,
"country": "ES",
"city": "Madrid"
}
}Créez une clé pour commencer. La clé complète n'est affichée qu'une fois, conservez-la en lieu sûr.
Chargement…