API dla ^The Connectors Place | EU | x3 | Low Pop
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 74,
"fps_avg": 47,
"entities_count": 92331,
"world_seed": 809623872,
"world_size": 4000,
"steam_id": "90286148130011139",
"domain": null,
"id": 7819809,
"ip": "141.224.202.32",
"port": 28017,
"query": 28018,
"color": 0,
"city": "Assen",
"description": "\n^The Connectors Place |EU| x3 Gather\r\n Monthly full wipe\r\n Current Plugins: BGrade, BetterTC and more coming soon\r\n Also check out our vanilla server!\r\n Join our discord: https://discord.gg/PDseqwCK5p",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779574408,
"last_online": 1780555235,
"icon": null,
"name": "^The Connectors Place | EU | x3 | Low Pop",
"connect": "141.224.202.32:28017",
"request": "141.224.202.32:28018",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1740051001,
"last_update": 1780555235,
"banned": false,
"wipe": 1778182618,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2753,
"language": "nl",
"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/7819809");
$data = json_decode($json, true);
var_dump($data);