Counter-Strike
API для Ford CS 1.6 Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7412427json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7412427,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": null,
"game": 10,
"owner": 104116,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1739087427,
"icon": null,
"name": "Ford CS 1.6 Server",
"connect": null,
"request": null,
"map": "cs_militia",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1738658614,
"last_update": 1750457066,
"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": 7153,
"language": "ru",
"parked": true,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": {
"username": "Ford",
"avatar": "b11bf99d-1bcf-4bcf-b2e4-9a0787c17dad.jpg",
"last_online": 1739086025
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7412427");
$data = json_decode($json, true);
var_dump($data);