API für Me Too Rusty | US Small
JSON für Programme, Websites und mehr
text
json
{
"response": {
"fps": 105,
"fps_avg": 104,
"entities_count": 71980,
"world_seed": 1791312414,
"world_size": 3500,
"steam_id": "90286585593299989",
"domain": null,
"id": 10815527,
"ip": "198.73.57.178",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Clifton",
"description": "\nEnjoy a laid-back Rustful experience. Join us on Discord and connect with other players: https://discord.gg/7ej7akxxYz\r\n\r\nRules:\r\n - Max team/group size of 4\r\n -- Applies to access sharing, bunking, bagging, roaming, raiding, and villages\r\n - No hacking or impersonating others\r\n - No sexism, racism, encouragement of self-harm, or hate speech\r\n - No chat spam or advertising other servers\r\n\r\nServer wipes the 1st Thursday of each month and restarts daily at 05:00 AM ET.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780560266,
"last_online": 1780591836,
"icon": null,
"name": "Me Too Rusty | US Small",
"connect": "198.73.57.178:28015",
"request": "198.73.57.178:28017",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1767109950,
"last_update": 1780591836,
"banned": false,
"wipe": 1778229720,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3878,
"language": "en",
"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/10815527");
$data = json_decode($json, true);
var_dump($data);