Rust
API für Rustafied.com - US Solo
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10622911json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 211122,
"world_seed": 721508133,
"world_size": 3750,
"steam_id": "90284172572241937",
"domain": null,
"id": 10622911,
"ip": "104.143.2.174",
"port": 28015,
"query": 28018,
"color": 0,
"city": "Dallas",
"description": "\nWeekly map wipe @ 15:00 New York Time (unless forced wipe) \r\n\r\n - Player portal: https://my.rustafied.com (server info, map voting, banlist, and more) \r\n - Store: https://rustafied.com/store \r\n - Support: https://rustafied.com/support \r\n - Discord: https://discord.gg/rustafied \r\n\r\n Forced wipe: First Thursday @ 2PM EST / 19:00 London (wipes all blueprints)",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194329,
"score": 0,
"last_online": 1775870410,
"icon": null,
"name": "Rustafied.com - US Solo",
"connect": "104.143.2.174:28015",
"request": "104.143.2.174:28018",
"map": "Rustafied Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 185,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 112,
"add_date": 1763330654,
"last_update": 1775870410,
"banned": false,
"wipe": 1775761127,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 92,
"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/10622911");
$data = json_decode($json, true);
var_dump($data);