Rust
Conventionofgamers.com|Hardcore|100X|Friendly||Events için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11305488json
{
"response": {
"fps": 83,
"fps_avg": 83,
"entities_count": 135755,
"world_seed": 508628203,
"world_size": 5000,
"steam_id": "90284748076171293",
"domain": null,
"id": 11305488,
"ip": "135.181.132.240",
"port": 28025,
"query": 28026,
"color": 0,
"city": "Helsinki",
"description": "\nConventionofgamers.com\r\nBiweekly Server Wipe\r\n100x Fun\r\nInstant Smelt, All Workbenchs Unlocked, Hardcore.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776793401,
"score": 0,
"last_online": 1776822021,
"icon": null,
"name": "Conventionofgamers.com|Hardcore|100X|Friendly||Events",
"connect": "135.181.132.240:28025",
"request": "135.181.132.240:28026",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774592886,
"last_update": 1776822021,
"banned": false,
"wipe": 1775161822,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5150,
"language": "fi",
"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/11305488");
$data = json_decode($json, true);
var_dump($data);