API для Prospects of the Nerds
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90284258096760838",
"domain": null,
"id": 11749535,
"ip": "91.13.255.79",
"port": 17777,
"query": 27015,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1149460,
"owner": null,
"boosts": 1,
"last_offline": 1780560205,
"last_online": 1780534895,
"icon": null,
"name": "Prospects of the Nerds",
"connect": "91.13.255.79:17777",
"request": "91.13.255.79:27015",
"map": null,
"gamemode": "Icarus",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780519047,
"last_update": 1780560205,
"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": 8860,
"language": "de",
"parked": false,
"app": {
"id": 1600891,
"steam_id": 1149460,
"name": "Icarus",
"url": "icarus"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11749535");
$data = json_decode($json, true);
var_dump($data);