Counter-Strike: Source
API для -=H.D.F=- Hide and Seek NEW IP 78.31.71.100:27027 !!!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/144408json
{
"response": {
"steam_id": "90284343719767055",
"domain": null,
"id": 144408,
"ip": "213.202.212.239",
"port": 27027,
"query": 27027,
"color": 0,
"city": "Düsseldorf",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1768554275,
"score": null,
"last_online": 1776208258,
"icon": null,
"name": "-=H.D.F=- Hide and Seek NEW IP 78.31.71.100:27027 !!!",
"connect": "213.202.212.239:27027",
"request": "213.202.212.239:27027",
"map": "hdf_new_sv",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1552835584,
"last_update": 1776208258,
"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": 712,
"language": "de",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/144408");
$data = json_decode($json, true);
var_dump($data);