API für !test server 129418
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": 90286588908999700,
"domain": null,
"id": 11774785,
"ip": "202.189.10.77",
"port": 11541,
"query": 11540,
"project_id": null,
"color": 0,
"city": "Beijing",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1780997206,
"last_online": 1781021513,
"icon": null,
"name": "!test server 129418",
"connect": "202.189.10.77:11541",
"request": "202.189.10.77:11540",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780997206,
"last_update": 1781021513,
"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": 5409,
"language": "zh",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11774785");
$data = json_decode($json, true);
var_dump($data);