Counter-Strike
API for csko.cz | Superhero (20 lvl)
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/24402json
{
"response": {
"steam_id": null,
"domain": null,
"id": 24402,
"ip": "88.86.115.150",
"port": 27046,
"query": 27046,
"color": 0,
"city": "Prague",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1768642201,
"score": null,
"last_online": 1776195025,
"icon": null,
"name": "csko.cz | Superhero (20 lvl)",
"connect": "88.86.115.150:27046",
"request": "88.86.115.150:27046",
"map": "de_blue_b5",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 30,
"bots": 10,
"secured": false,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 35,
"add_date": 1516145802,
"last_update": 1776195025,
"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": 3497,
"language": "cs",
"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/24402");
$data = json_decode($json, true);
var_dump($data);