Counter-Strike: Source
API for *NSK CS:S GunGame Server #1
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/142820json
{
"response": {
"steam_id": "90284339095137303",
"domain": null,
"id": 142820,
"ip": "109.237.109.161",
"port": 29883,
"query": 29883,
"color": 0,
"city": "Pyongyang",
"description": "",
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1775760125,
"score": null,
"last_online": 1776290418,
"icon": null,
"name": "*NSK CS:S GunGame Server #1",
"connect": "109.237.109.161:29883",
"request": "109.237.109.161:29883",
"map": "gg_2forts",
"gamemode": "Counter-Strike: Source",
"version": "9540945",
"numplayers": 11,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "KP",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1552834400,
"last_update": 1776290418,
"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": 332,
"language": "ko",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/142820");
$data = json_decode($json, true);
var_dump($data);