API для <RG> Payload Rotation 18+ | Nuclear Blast | Chicago
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "l",
"region": 0,
"product": "tf",
"gametype": "Duels,alltalk,friendlyfire,increased_maxplayers,nocrits,nodmgspread,norandomspread,payload,radz,respawntimes,rg",
"dedicated": true,
"steam_id": "85568392935803233",
"domain": null,
"id": 12025513,
"ip": "74.91.115.119",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Chicago",
"description": null,
"game": 440,
"owner": null,
"boosts": 1,
"last_offline": 1787091610,
"last_online": 1787286050,
"icon": null,
"name": "<RG> Payload Rotation 18+ | Nuclear Blast | Chicago",
"connect": "74.91.115.119:27015",
"request": "74.91.115.119:27015",
"map": "pl_oasis_rc3",
"gamemode": null,
"version": "10828683",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1783799633,
"last_update": 1787286050,
"ban_reason": null,
"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": 2295,
"language": "en",
"parked": false,
"app": {
"id": 24,
"steam_id": 440,
"name": "Team Fortress 2",
"url": "team-fortress-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12025513");
$data = json_decode($json, true);
var_dump($data);