Counter-Strike
API для #11 FRUTA | Nostalgia Gamers | nostalgia.ar
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/220116json
{
"response": {
"steam_id": null,
"domain": null,
"id": 220116,
"ip": "45.235.98.52",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Córdoba",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775239931,
"score": null,
"last_online": 1776208218,
"icon": null,
"name": "#11 FRUTA | Nostalgia Gamers | nostalgia.ar",
"connect": "45.235.98.52:27025",
"request": "45.235.98.52:27025",
"map": "awp_india",
"gamemode": "Nostalgia Gamers",
"version": "1.1.2.7/Stdio",
"numplayers": 12,
"maxplayers": 17,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 70,
"add_date": 1582979112,
"last_update": 1776208218,
"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": 1917,
"language": "es",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/220116");
$data = json_decode($json, true);
var_dump($data);