Insurgency: Sandstorm
API для [EU] The Crew PvE Checkpoint | Vanilla but a bit harder
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9559577json
{
"response": {
"steam_id": "85568392934914737",
"domain": null,
"id": 9559577,
"ip": "185.170.115.5",
"port": 27102,
"query": 27131,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 581320,
"owner": null,
"boosts": 1,
"last_offline": 1776332622,
"score": 0,
"last_online": 1776436879,
"icon": null,
"name": "[EU] The Crew PvE Checkpoint | Vanilla but a bit harder",
"connect": "185.170.115.5:27102",
"request": "185.170.115.5:27131",
"map": "Canyon",
"gamemode": "Checkpoint",
"version": "1.1.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1750586036,
"last_update": 1776436879,
"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": 167,
"language": "de",
"parked": false,
"app": {
"id": 23489,
"steam_id": 581320,
"name": "Insurgency: Sandstorm",
"url": "insurgency-sandstorm"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/9559577");
$data = json_decode($json, true);
var_dump($data);