Spacewar
API for #-1 | НЕ ДЛЯ ИГРЫ | TEST DEV
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11394272json
{
"response": {
"steam_id": "90284569310475292",
"domain": null,
"id": 11394272,
"ip": "194.147.90.187",
"port": 22456,
"query": 22456,
"color": 0,
"city": "Moscow",
"description": null,
"game": 480,
"owner": null,
"boosts": 1,
"last_offline": 1776852751,
"score": 0,
"last_online": 1776441148,
"icon": null,
"name": "#-1 | НЕ ДЛЯ ИГРЫ | TEST DEV",
"connect": "194.147.90.187:22456",
"request": "194.147.90.187:22456",
"map": "Scarland",
"gamemode": null,
"version": "1.2.1",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774596930,
"last_update": 1776852751,
"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": 37,
"language": "ru",
"parked": false,
"app": {
"id": 54694,
"steam_id": 480,
"name": "Spacewar",
"url": "spacewar"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11394272");
$data = json_decode($json, true);
var_dump($data);