Counter-Strike
API for [CSserv.ru] Новый сервер
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10432916json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10432916,
"ip": "93.191.11.213",
"port": 27025,
"query": 27025,
"color": 0,
"city": "Moscow",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1773337934,
"score": 0,
"last_online": 1776195651,
"icon": null,
"name": "[CSserv.ru] Новый сервер",
"connect": "93.191.11.213:27025",
"request": "93.191.11.213:27025",
"map": "35hp_dump_teleportation",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 10,
"bots": 8,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759833398,
"last_update": 1776195651,
"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": 6193,
"language": "ru",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/10432916");
$data = json_decode($json, true);
var_dump($data);