FroggoEdits için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 112,
"fps_avg": 112,
"entities_count": 133890,
"world_seed": 991438417,
"world_size": 4800,
"steam_id": "90286450620964864",
"domain": null,
"id": 4688824,
"ip": "178.63.123.235",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Falkenstein",
"description": "\nA simple Rust server, with members gathered all around the world. We are the EXR. Vanilla server. No plugins no nothin.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780248847,
"last_online": 1780551628,
"icon": null,
"name": "FroggoEdits",
"connect": "178.63.123.235:28000",
"request": "178.63.123.235:28001",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1717758491,
"last_update": 1780551628,
"banned": false,
"wipe": 1780248886,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2368,
"language": "de",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/4688824");
$data = json_decode($json, true);
var_dump($data);