📡 API Publică RCFM.RO

Integrează datele RCFM în aplicația ta

ℹ️ Informații Generale

  • Base URL: https://rcfm.ro/api
  • Format: JSON
  • Rate Limit: 100 cereri pe oră per IP
  • Autentificare: Nu este necesară pentru endpoint-urile publice

📋 Endpoint-uri

GET/api/public/squads

Lista squad-urilor active (status SEARCHING)

Response: Squad[] cu game, squadMembers

GET/api/public/tournaments

Lista turneelor cu echipe înscrise

Response: Tournament[] cu game, teams

GET/api/public/leaderboard

Top 100 jucători după reputație

Response: User[] (id, username, avatar, reputation, wins, losses)

GET/api/public/locations

Număr jucători per oraș

Response: Record<city, count>

GET/api/public/events

Evenimente gaming viitoare

Response: GamingEvent[]

GET/api/public/meta

Meta curent per joc

Response: MetaEntry[]

GET/api/games

Lista tuturor jocurilor

Response: Game[] (id, name, slug, coverUrl, maxPlayers)

GET/api/stats

Statistici platformă

Response: { activeSquads, totalPlayers, totalServers, totalTournaments, games }

GET/api/stats/extended

Statistici extinse

Response: + totalTeams, totalSquadsEver

GET/api/elo/:gameId

Clasament ELO per joc

Response: EloRating[] (userId, gameId, elo, wins, losses)

GET/api/mentors

Lista mentorilor activi

Response: Mentor[] (userId, gameId, rating, sessions)

💡 Exemplu cURL

$ curl https://rcfm.ro/api/public/squads
[{"id":"abc123","title":"Ranked Grind","game":{"name":"CS2"},...}]
$ curl https://rcfm.ro/api/stats
{"activeSquads":12,"totalPlayers":847,"totalServers":23,"totalTournaments":15}
📧 Probleme? Contactează-ne pe Discord.