[PL] KrainaRUST.com PvE PvP için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 142426,
"world_seed": 518116278,
"world_size": 4250,
"steam_id": "90286970447410187",
"domain": null,
"id": 11759048,
"ip": "51.68.154.85",
"port": 7777,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": "[PL] Serwer PvE ze strefami PvP. 5x Stack, MAPA 4250, Wipe 1M.\r\nNagrody, 710 Raidowalnych baz, 14 Eventow, Raidy NPC, Recycler, Sklep, Dodatkowy plecak.\r\nWskocz na nasz DISCORD i zgarnij codzienne dropy!\r\n[ENG] Server PvE with PvP Areas. 5x Stack, 4250 MAP, Wipe 1M.\r\nRewards, 710 Raidable Bases, 14 Events, NPC Raids, Recycler, Shop, Backpack.\r\nJoin to our DISCORD and get some daily drops!\r\n\r\nWWW: www.krainarust.com\r\nDISCORD: www.krainarust.com/discord",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781366639,
"last_online": 1781371825,
"icon": null,
"name": "[PL] KrainaRUST.com PvE PvP",
"connect": "51.68.154.85:7777",
"request": "51.68.154.85:27015",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 11,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1780931698,
"last_update": 1781371825,
"banned": false,
"wipe": 1780662869,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1388,
"language": "pl",
"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/11759048");
$data = json_decode($json, true);
var_dump($data);