Rust
API für Void.Place | x2
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/823832json
{
"response": {
"fps": 122,
"fps_avg": 121,
"entities_count": 117574,
"world_seed": 468118570,
"world_size": 4500,
"steam_id": "90284529706341402",
"domain": null,
"id": 823832,
"ip": "185.149.40.74",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Kyiv",
"description": "\nThis server is more than just a place to play. It's a community of like-minded players who come together to create an immersive and engaging gaming experience. Whether you're looking to build epic structures, explore new worlds, or simply enjoy the camaraderie of fellow gamers, this server has something for everyone.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775757726,
"score": null,
"last_online": 1776831621,
"icon": null,
"name": "Void.Place | x2",
"connect": "185.149.40.74:28015",
"request": "185.149.40.74:28016",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "UA",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684406926,
"last_update": 1776831621,
"banned": false,
"wipe": 1776364847,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2352,
"language": "uk",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/823832");
$data = json_decode($json, true);
var_dump($data);