API for
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11252498,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Pyshma",
"description": null,
"game": 730,
"owner": 180986,
"boosts": 1,
"last_offline": 1776491565,
"last_online": 1775581921,
"icon": null,
"name": null,
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774046800,
"last_update": 1776491565,
"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": 13806,
"language": "ru",
"parked": true,
"app": {
"id": 2,
"steam_id": 730,
"name": "Counter-Strike 2",
"url": "counter-strike-2"
},
"server_owner": {
"username": "skiper_bro",
"avatar": "17383538-8d37-4582-b11b-f731bc03c75a.jpg"
},
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11252498");
$data = json_decode($json, true);
var_dump($data);