Zombie Master
API pentru Muob's Clubhouse | Steam Group /Muobch | Get ZM: Reborn on ModDB
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/814128json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 814128,
"ip": "65.108.205.169",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": "",
"game": 90047,
"owner": null,
"boosts": 1,
"last_offline": 1775713281,
"score": null,
"last_online": 1776260456,
"icon": null,
"name": "Muob's Clubhouse | Steam Group /Muobch | Get ZM: Reborn on ModDB",
"connect": "65.108.205.169:27015",
"request": "65.108.205.169:27015",
"map": "zm_sos_b2",
"gamemode": "Zombie Master 1.2.1",
"version": "1.0.1.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684360159,
"last_update": 1776260456,
"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": 1,
"language": "fi",
"parked": false,
"app": {
"id": 45,
"steam_id": 90047,
"name": "Zombie Master",
"url": "zombie-master"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/814128");
$data = json_decode($json, true);
var_dump($data);