rFactor 2
API für !RC1 Indy GT3
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11180255json
{
"response": {
"steam_id": "90285144610163719",
"domain": null,
"id": 11180255,
"ip": "104.137.193.98",
"port": 27017,
"query": 27019,
"color": 0,
"city": "Indianapolis",
"description": null,
"game": 365960,
"owner": null,
"boosts": 1,
"last_offline": 1777499001,
"score": 0,
"last_online": 1777604437,
"icon": null,
"name": "!RC1 Indy GT3",
"connect": "104.137.193.98:27017",
"request": "104.137.193.98:27019",
"map": "Indianapolis Grand Prix",
"gamemode": "rFactor 2",
"version": "11134",
"numplayers": 1,
"maxplayers": 34,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1772229591,
"last_update": 1777604437,
"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": 21,
"language": "en",
"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/11180255");
$data = json_decode($json, true);
var_dump($data);