API dla OLDSKOOL GUYS PVE 2X GATHER ACTIVE ADMINS
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 35,
"fps_avg": 31,
"entities_count": 154222,
"world_seed": 495421946,
"world_size": 5000,
"steam_id": 90286604620189710,
"domain": null,
"id": 10871065,
"ip": "144.48.106.189",
"port": 28035,
"query": 28037,
"color": 0,
"city": "Chicago",
"description": "OLDSKOOl RUST SERVER ACTIVE ADMINS SKILL TREE TO ENHANCE YOUR PLAY, EVENTS= DUNGEONS OPERATIONAL FORTRESS, TRAINYARD, SUBMARINE EVEN, BRADLEY DROPS, FERRY TERMINAL EVENT, HARBOUR, HEAVY OIL RIG, KING OF THE HILL, DOME EVENT, CARGO CONVOY, RADTOWN, ARTIC BASE EVENT, POWER PLANT EVENT",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780597470,
"last_online": 1780630825,
"icon": null,
"name": "OLDSKOOL GUYS PVE 2X GATHER ACTIVE ADMINS",
"connect": "144.48.106.189:28035",
"request": "144.48.106.189:28037",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 2,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1768318512,
"last_update": 1780630825,
"banned": false,
"wipe": 1780597925,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1197,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10871065");
$data = json_decode($json, true);
var_dump($data);