API для Agent Dev Server(im not in japan btw)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90284905968753666",
"domain": null,
"id": 11588479,
"ip": "51.75.127.229",
"port": 7777,
"query": 7778,
"project_id": null,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 1841660,
"owner": null,
"boosts": 1,
"last_offline": 1779357834,
"last_online": 1780845158,
"icon": null,
"name": "Agent Dev Server(im not in japan btw)",
"connect": "51.75.127.229:7777",
"request": "51.75.127.229:7778",
"map": "agent::m_agent",
"gamemode": "nanos world server",
"version": "1.133.2",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779357834,
"last_update": 1780845158,
"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": 5,
"language": "fr",
"parked": false,
"app": {
"id": 1564244,
"steam_id": 1841660,
"name": "nanos world",
"url": "nanos-world"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11588479");
$data = json_decode($json, true);
var_dump($data);