API für 누넌
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11742013,
"ip": "118.34.110.210",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Jung-gu",
"description": null,
"game": 620,
"owner": null,
"boosts": 1,
"last_offline": 1780907011,
"last_online": 1780418412,
"icon": null,
"name": "누넌",
"connect": "118.34.110.210:27015",
"request": "118.34.110.210:27015",
"map": "mp_coop_paint_longjump_intro",
"gamemode": "Portal 2 Coop",
"version": "2.0.0.1",
"numplayers": 0,
"maxplayers": 2,
"bots": 0,
"secured": true,
"private": false,
"country": "KR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780412951,
"last_update": 1780907011,
"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": "ko",
"parked": false,
"app": {
"id": 105,
"steam_id": 620,
"name": "Portal 2",
"url": "portal-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11742013");
$data = json_decode($json, true);
var_dump($data);