API для CreeD
JSON для программ, сайтов и прочего
text
json
{
"response": {
"dedicated": false,
"gametype": "ColdGame",
"os": "w",
"product": "subsistence",
"region": 255,
"steam_id": "90290160843274248",
"domain": null,
"id": 13289223,
"ip": "201.179.134.96",
"port": 7777,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Mar del Plata",
"description": null,
"game": 418030,
"owner": null,
"boosts": 1,
"last_offline": 1785821810,
"last_online": 1785789000,
"icon": null,
"name": "CreeD",
"connect": "201.179.134.96:7777",
"request": "201.179.134.96:27015",
"map": "coldmap1",
"gamemode": null,
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 3,
"bots": 0,
"secured": true,
"private": null,
"country": "AR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1785782812,
"last_update": 1785821810,
"ban_reason": null,
"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": 511,
"language": "es",
"parked": false,
"app": {
"id": 139,
"steam_id": 418030,
"name": "Subsistence",
"url": "subsistence"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13289223");
$data = json_decode($json, true);
var_dump($data);