Zombie Master: Reborn
API für -DTR- Swanky Lil ZM Server (rtv, nominate)
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11394637json
{
"response": {
"steam_id": "90284400249724950",
"domain": null,
"id": 11394637,
"ip": "108.61.219.203",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Los Angeles",
"description": null,
"game": 813990,
"owner": null,
"boosts": 1,
"last_offline": 1774597027,
"score": 0,
"last_online": 1776316810,
"icon": null,
"name": "-DTR- Swanky Lil ZM Server (rtv, nominate)",
"connect": "108.61.219.203:27018",
"request": "108.61.219.203:27018",
"map": "zm_lostatsea_b4",
"gamemode": "Zombie Master: Reborn b6",
"version": "6630498",
"numplayers": 1,
"maxplayers": 16,
"bots": 1,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1774597027,
"last_update": 1776316810,
"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": 3,
"language": "en",
"parked": false,
"app": {
"id": 1665374,
"steam_id": 813990,
"name": "Zombie Master: Reborn",
"url": "zombie-master-reborn"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11394637");
$data = json_decode($json, true);
var_dump($data);