Rust
API für JP ONLY 2WEEK SOLO/DUO/TORIO#71
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/1035627json
{
"response": {
"fps": 55,
"fps_avg": 84,
"entities_count": 84476,
"world_seed": 1973168218,
"world_size": 3500,
"steam_id": "90284754206332957",
"domain": null,
"id": 1035627,
"ip": "162.43.17.235",
"port": 28015,
"query": 29015,
"color": 0,
"city": "Chiyoda City",
"description": "No server description has been provided.初心者かんげい!次回マップワイプ予定7/21。チームは3人までです。くわしいじょうほうは、左下のWebサイトを表示からかくにんしてください。https://discord.gg/BA4t9FYKQa",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776542002,
"score": null,
"last_online": 1776859218,
"icon": null,
"name": "JP ONLY 2WEEK SOLO/DUO/TORIO#71",
"connect": "162.43.17.235:28015",
"request": "162.43.17.235:29015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 6,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1688593613,
"last_update": 1776859218,
"banned": false,
"wipe": 1776392899,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 948,
"language": "ja",
"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/1035627");
$data = json_decode($json, true);
var_dump($data);