API für Roundy
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90284708346813443",
"domain": null,
"id": 11631681,
"ip": "74.112.76.246",
"port": 9065,
"query": 9066,
"project_id": null,
"color": 0,
"city": "Manassas",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1781243583,
"last_online": 1780611044,
"icon": null,
"name": "Roundy",
"connect": "74.112.76.246:9065",
"request": "74.112.76.246:9066",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.023h4",
"numplayers": 0,
"maxplayers": 6,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916743,
"last_update": 1781243583,
"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": 1319,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11631681");
$data = json_decode($json, true);
var_dump($data);