Rust
TRIO MODDED - OLDFARTS.LV için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/3875262json
{
"response": {
"fps": 96,
"fps_avg": 97,
"entities_count": 108916,
"world_seed": 669039719,
"world_size": 4250,
"steam_id": "90284790605602822",
"domain": null,
"id": 3875262,
"ip": "85.206.161.166",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Šiauliai",
"description": "\nČill serveris vecākiem un mierīgākiem Rust spēlētājiem\r\n\r\n- Farm reiti 0.7-1.5x\r\n- Aizsardzība no reidiem ar scrap\r\n- Līmeņu sistēma un prasmes\r\n- NPC Reid bāzes \r\n- Kraftojamie transportlīdzekļi \r\n- Un Daudz kas cits! \r\n Viss info mūsu Discord kanālā - oldfarts.lv/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776816201,
"score": 0,
"last_online": 1776853224,
"icon": null,
"name": "TRIO MODDED - OLDFARTS.LV",
"connect": "85.206.161.166:28015",
"request": "85.206.161.166:28017",
"map": "Rūsētāju pansionāts",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 69,
"bots": 0,
"secured": true,
"private": false,
"country": "LT",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1713339121,
"last_update": 1776853224,
"banned": false,
"wipe": 1775153903,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2763,
"language": "lt",
"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/3875262");
$data = json_decode($json, true);
var_dump($data);