Counter-Strike
API for GAMEHOST.COM.UA | 1.6 | NEW SERVER
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/10982359json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10982359,
"ip": "195.3.223.128",
"port": 27088,
"query": 27088,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775832129,
"score": 0,
"last_online": 1776219047,
"icon": null,
"name": "GAMEHOST.COM.UA | 1.6 | NEW SERVER",
"connect": "195.3.223.128:27088",
"request": "195.3.223.128:27088",
"map": "de_dust2_2x2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769901738,
"last_update": 1776219047,
"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": 6350,
"language": "pl",
"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/10982359");
$data = json_decode($json, true);
var_dump($data);