VEIN
API для ODB VEIN
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10586853json
{
"response": {
"steam_id": "90276970695425026",
"domain": null,
"id": 10586853,
"ip": "216.245.177.11",
"port": 27042,
"query": 27043,
"color": 0,
"city": "Chicago",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1774831928,
"score": 0,
"last_online": 1776822634,
"icon": null,
"name": "ODB VEIN",
"connect": "216.245.177.11:27042",
"request": "216.245.177.11:27043",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.022h8",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1762850996,
"last_update": 1776822634,
"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": 205,
"language": "en",
"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/10586853");
$data = json_decode($json, true);
var_dump($data);