rFactor 2
API für SRC GTW Event Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1470039json
{
"response": {
"steam_id": "90284261883726859",
"domain": null,
"id": 1470039,
"ip": "88.99.193.85",
"port": 64697,
"query": 64699,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1774814529,
"score": null,
"last_online": 1776304218,
"icon": null,
"name": "SRC GTW Event Server",
"connect": "88.99.193.85:64697",
"request": "88.99.193.85:64699",
"map": "SRC_Hockenheim_2026",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 4,
"maxplayers": 103,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 46,
"add_date": 1697314199,
"last_update": 1776304218,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 24,
"language": "de",
"parked": false,
"app": {
"id": 146,
"steam_id": 365960,
"name": "rFactor 2",
"url": "rfactor-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/1470039");
$data = json_decode($json, true);
var_dump($data);