API для Craftyfeckers - EU Gaming Servers Since 2005
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794121177,
"app": {
"id": 69,
"name": "Miscreated",
"steam_id": 299740,
"url": "miscreated"
},
"color": 0,
"connect": "51.37.156.46:64090",
"country": "IE",
"domain": null,
"game": 299740,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19810386,
"ip": "51.37.156.46",
"language": "en",
"last_update": 1794599201,
"map": "islands",
"maxplayers": 30,
"name": "Craftyfeckers - EU Gaming Servers Since 2005",
"numplayers": 0,
"official": null,
"points": 0,
"port": 64090,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 64092,
"request": "51.37.156.46:64092",
"secured": true,
"status": false,
"steam_id": "90297024310217746",
"version": "1012043",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Маллоу",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794599201,
"last_online": 1794185979,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 149,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "Miscreated",
"gametype": "09:25;0;0;0;0;1;0;0",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19810386");
$data = json_decode($json, true);
var_dump($data);