📘 API Docs - Choriper

Automatic documentation for (public) APIs used across the Choriper project systems.
Visit the official website or support the project on Ko-fi to help us keep the services online.

Documentação automática para APIs (Públicas) utilizadas nos sistemas do projeto Choriper.
Acesse o site oficial ou apoie o projeto para nos ajudar a manter os serviços ativos.

Gerado automaticamente lendo arquivos .js na pasta /endpoints/

getTokenInfo

URL: https://rip-bf.com/api/token/

Método: POST

Descrição: Returns information about the authenticated user if they are logged in. Request an active session.

curl -X POST "https://rip-bf.com/api/token/"

Corpo (formato: chave1=valor1&chave2=valor2):

getOwnedGameAchievements

URL: https://rip-bf.com/api/player-global/ownedGameAchievements/?id=1007917900222&game=bfv

Método: GET

Descrição: Returns a player's achievements for a specific game. You must always provide `id` (the player's userId, e.g., 1007917900222). You can choose EITHER `game` (short alias: bfv | bf1 | bf6) OR `gameSlug` (the exact tag from the profile, e.g., 'BFV', 'BF6 BETA').

idgameSluggameshow-hidden

Parameters:

# using 'game' shortcut curl -G "https://rip-bf.com/api/player-global/ownedGameAchievements/" \ --data-urlencode "id=1007917900222" \ --data-urlencode "game=bfv" \ --data-urlencode "show-hidden=true" \ --data-urlencode "locale=en-us"

Corpo (formato: chave1=valor1&chave2=valor2):

player-get-user-Games

URL: https://rip-bf.com/api/player-global/get-user/?userId=1016334900222&GetGames=true

Método: GET

Descrição: Returns public EA player data, including avatar, display name, and owned games. Now with CORS support. You can also use `GetGames-tags=true` to return only the game tags.

⚠️ Avisos:

curl -X GET "https://rip-bf.com/api/player-global/get-user/?userId=1016334900222&GetGames=true"

Corpo (formato: chave1=valor1&chave2=valor2):

player-global

URL: https://rip-bf.com/api/eaid/?nucleus_id=1016334900222

Método: POST

Descrição: Resolves EA account identifiers from RIP-BF. You can query by `name` (EAID), `nucleus_id`, `email`, or a batch via `namelist`. Returns `ea_id` and `ea_pd`, used for authentication and other EA-related APIs. Responses are cached for 1 hour.

Cache: 3600s (60 min)

Response fields:

curl -X POST "https://rip-bf.com/api/eaid/" -H "Content-Type: application/x-www-form-urlencoded" -d "name=ADM-RIP"

Corpo (formato: chave1=valor1&chave2=valor2):