API dla TheCrew's 1 Grid/duos/randomlootdroponkill
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 220,
"fps_avg": 208,
"entities_count": 47347,
"world_seed": 24881,
"world_size": 2945,
"steam_id": "90286173174447125",
"domain": null,
"id": 11645083,
"ip": "64.31.28.162",
"port": 28215,
"query": 28216,
"color": 0,
"city": "New York",
"description": "\nWelcome to TheCrew \r\n duos only \r\n 2x on all resources apart from sulphur \r\n offline raid help with reduced damage against bases up to 48 offline. \r\n no discord only f7 reports \r\n no cheating, exploits",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780670010,
"last_online": 1780195827,
"icon": null,
"name": "TheCrew's 1 Grid/duos/randomlootdroponkill",
"connect": "64.31.28.162:28215",
"request": "64.31.28.162:28216",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780177445,
"last_update": 1780670010,
"banned": false,
"wipe": 1779208420,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12111,
"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/11645083");
$data = json_decode($json, true);
var_dump($data);