No More Room in Hell
API pentru 游友服务器4-QQ群103510150
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8857868json
{
"response": {
"steam_id": "90284381066216470",
"domain": null,
"id": 8857868,
"ip": "49.232.155.57",
"port": 12132,
"query": 12132,
"color": 0,
"city": "Beijing",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1776076270,
"score": 0,
"last_online": 1776207669,
"icon": null,
"name": "游友服务器4-QQ群103510150",
"connect": "49.232.155.57:12132",
"request": "49.232.155.57:12132",
"map": "nmo_broadway",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 9,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1746303992,
"last_update": 1776207669,
"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": 109,
"language": "zh",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/8857868");
$data = json_decode($json, true);
var_dump($data);