Classifiche

Classifiche

Classifiche giocatori con ranking che si integrano in qualsiasi motore di gioco in pochi minuti

Inizia gratis

Invio punteggio con una chiamata

Invii il punteggio di un giocatore con un singolo metodo dell'SDK e horizOn si occupa di ranking, deduplicazione e persistenza.

Classifiche contestuali

Recuperi le migliori voci globali o le voci attorno a un giocatore specifico per mostrargli la sua posizione.

Zero infrastruttura

horizOn gestisce tutto lo storage, l'indicizzazione e le performance delle query, cosi Lei non dovra mai toccare un database.

Integrazione rapida

Integrazione rapida

Rhythm Masters

Canzone completata!

IL TUO PUNTEGGIO

12,450

C#
// Unity C# - Leaderboard
using HorizOn;

var horizon = new HorizonClient("YOUR_API_KEY");

// Submit score
await horizon.Leaderboard.SubmitScore(userId, 15000);

// Get top 10
var top = await horizon.Leaderboard.GetTop(userId, 10);
foreach (var entry in top.Entries) {
    Debug.Log($"#{entry.Rank} {entry.DisplayName}: {entry.Score}");
}

// Get rank around player
var around = await horizon.Leaderboard.GetAround(userId, 5);
REST
# REST API - Leaderboard

# Submit a score
curl -X POST https://eu.horizon.pm/api/v1/app/leaderboard/submit \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"userId":"USER_ID","score":15000}'

# Get top 10 entries
curl -X GET "https://eu.horizon.pm/api/v1/app/leaderboard/top?userId=USER_ID&limit=10" \
  -H "X-API-Key: YOUR_API_KEY"

# Get entries around a player
curl -X GET "https://eu.horizon.pm/api/v1/app/leaderboard/around?userId=USER_ID&range=5" \
  -H "X-API-Key: YOUR_API_KEY"
Domande frequenti

Domande frequenti

Pronto per l'integrazione?

Inizi a costruire con horizOn oggi stesso. Tier gratuito incluso.