VEIN
API для KopsForever
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11209384json
{
"response": {
"steam_id": 90284390348337180,
"domain": null,
"id": 11209384,
"ip": "88.211.219.19",
"port": 5000,
"query": 25000,
"color": 0,
"city": "Amsterdam",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1773552130,
"score": 0,
"last_online": 1776801680,
"icon": null,
"name": "KopsForever",
"connect": "88.211.219.19:5000",
"request": "88.211.219.19:25000",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h18",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772700717,
"last_update": 1776801680,
"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": 810,
"language": "nl",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11209384");
$data = json_decode($json, true);
var_dump($data);