🔌 Wolffiles API
Darmowe publiczne REST API dla danych plików Wolfenstein: Enemy Territory. Nie wymaga uwierzytelnienia.
Bazowy URL
https://wolffiles.eu/api/v1
📁 Pliki
Przeszukaj wszystkie zatwierdzone pliki z metadanymi.
Parametry
qFraza wyszukiwania (wymagane)gameFiltruj według gry: ET, RtCW (opcjonalne)categoryFiltruj według slug kategorii (opcjonalne)limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/search?q=goldrush&limit=5
Zwraca ostatnio przesłane i zatwierdzone pliki.
Parametry
gameFiltruj według gry: ET, RtCW (opcjonalne)limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/latest?limit=5
Zwraca losowy zatwierdzony plik.
Parametry
gameFiltruj według gry: ET, RtCW (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/random
Zwraca pliki posortowane według liczby pobrań.
Parametry
periodOkres: all, month, week (opcjonalne)limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/top?period=month&limit=5
Zwraca pliki z najwyższym wynikiem trendu.
Parametry
limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/trending?limit=5
Zwraca aktualnie wyróżniony plik.
Przykładowe żądanie
GET https://wolffiles.eu/api/v1/files/featured
Zwraca pełne szczegóły dla określonego pliku.
Parametry ścieżki
idID pliku (wymagane)Pola odpowiedzi
idintegertitlestringslugstringcategorystringgamestring — ET, RtCWmap_namestring|nullfile_sizestring — "4.2 MB"download_countintegeraverage_ratingfloat — 0.0–5.0urlstringdownload_urlstringthumbnailstring|nullauthorstring|nullpublished_atISO 8601mod_compatibilitystring|nullreadme_contentstring|nulldescriptionstring|nullversionstring|nulltagsarrayscreenshotsarrayPrzykładowe żądanie
GET https://wolffiles.eu/api/v1/files/1
📊 Statystyki
Zwraca zagregowane statystyki platformy Wolffiles.
Przykładowe żądanie
GET https://wolffiles.eu/api/v1/stats
📖 Wiki & Tutoriale
Przeszukaj artykuły wiki o rozgrywce ET, mapowaniu i moddingu.
Parametry
qFraza wyszukiwania (wymagane)limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/wiki/search?q=mapping
Przeszukaj tutoriale i poradniki ET.
Parametry
qFraza wyszukiwania (wymagane)limitMaks. wyniki (domyślnie: 10, max: 50) (opcjonalne)Przykładowe żądanie
GET https://wolffiles.eu/api/v1/tutorials/search?q=install
📡 Tracker API
Returns the current number of players and servers online across all tracked games.
Example Request
GET https://wolffiles.eu/api/v1/tracker/online
Returns server and player counts broken down by game (ET 2.60b, ETL, RtCW, etc.).
Example Request
GET https://wolffiles.eu/api/v1/tracker/stats
Returns all currently online servers, sorted by player count. Filter by game slug.
Parameters
gameFilter by game slug (e.g. etl, et-260b) (optional)Example Request
GET https://wolffiles.eu/api/v1/tracker/servers?game=etl
Returns the most populated servers currently online. Max 25.
Parameters
limitNumber of results, max 25 (optional, default 10)Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/top?limit=5
Returns all servers currently playing the given map, plus historical stats (times played, peak players, avg players).
Path Parameter
mapNameMap filename without extension (e.g. venice, supply) (required)Example Request
GET https://wolffiles.eu/api/v1/tracker/maps/venice
Search tracked players by name. Minimum 2 characters required.
Parameters
qPlayer name (min 2 chars) (required)Example Request
GET https://wolffiles.eu/api/v1/tracker/players/search?q=ninja
Returns top players sorted by ELO, kills, playtime, or K/D ratio. Max 25.
Parameters
sortelo / kills / playtime / kd (optional, default elo)limitNumber of results, max 25 (optional, default 10)Example Request
GET https://wolffiles.eu/api/v1/tracker/players/top?sort=elo&limit=10
Returns full profile for a tracked player including ELO, stats, and last 5 sessions.
Path Parameter
idPlayer ID (required)Example Request
GET https://wolffiles.eu/api/v1/tracker/players/1
Returns paginated player rankings for a given period.
Parameters
periodalltime / month / week (optional, default alltime)limitResults per page (optional, default 50)Example Request
GET https://wolffiles.eu/api/v1/tracker/rankings?period=month&limit=10
Returns active clans sorted by member count. Optionally search by tag or name.
Parameters
qSearch by clan tag or name (optional)limitResults per page (optional, default 50)Example Request
GET https://wolffiles.eu/api/v1/tracker/clans?q=etj
⚠️ Limity i użytkowanie
API jest ograniczone do 60 żądań na minutę. Prosimy o odpowiedzialne korzystanie.
Potrzebujesz wyższych limitów? Skontaktuj się z nami. Kontakt
💻 Przykłady kodu
curl -s "https://wolffiles.eu/api/v1/files/search?q=goldrush" | python3 -m json.tool
const res = await fetch('https://wolffiles.eu/api/v1/files/search?q=goldrush');
const data = await res.json();
data.results.forEach(f => console.log(`${f.title} — ${f.download_count} downloads`));
import requests
r = requests.get('https://wolffiles.eu/api/v1/files/search', params={'q': 'goldrush', 'limit': 5})
for f in r.json()['results']:
print(f"{f['title']} — {f['download_count']} downloads")
$data = json_decode(file_get_contents(
'https://wolffiles.eu/api/v1/files/search?q=goldrush'
), true);
foreach ($data['results'] as $file) {
echo $file['title'] . ' — ' . $file['download_count'] . " downloads\n";
}
// Discord.js v14 slash command example
const res = await fetch('https://wolffiles.eu/api/v1/files/search?q=' + query);
const { results } = await res.json();
const embed = new EmbedBuilder()
.setTitle(results[0].title)
.setURL(results[0].url)
.addFields(
{ name: 'Downloads', value: String(results[0].download_count), inline: true },
{ name: 'Game', value: results[0].game ?? 'ET', inline: true }
);
await interaction.reply({ embeds: [embed] });
Returns full server details including IP, map, players, and banner/embed URLs ready for use.
Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/270
Returns the server's rank within its game (based on 30-day average player count). Snapshot refreshes every 10 minutes.
Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/270/rank
Returns the top 8 all-time players on this server, ranked by cumulative XP. Snapshot refreshes every 30 minutes.
Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/270/top-players
Returns the list of players currently online on this server with team, score, and session details.
Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/270/online
Returns historical player-count samples for charting. Default last 24 hours, max 168 hours (1 week).
Parameters
hoursLookback window in hours (default: 24, max: 168) (optional)Example Request
GET https://wolffiles.eu/api/v1/tracker/servers/270/history?hours=24
Wolffiles API v1 · Zbudowane z miłością dla społeczności ET
Pytania? Kontakt · Dołącz do Discord