Rust
API pentru [AU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10780760json
{
"response": {
"fps": 10,
"fps_avg": 9,
"entities_count": 21042,
"world_seed": 1,
"world_size": 3750,
"steam_id": "90285466934932483",
"domain": null,
"id": 10780760,
"ip": "139.99.144.133",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Sydney",
"description": "![[AU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL](https://aimtraining.net/media/BekerMelks-Gun-Aim-Training.png)\nWelcome to BekerMelk's Gun Aim Training server!\r\nBekerMelk's is more than just an Aim Training server. \r\nExplore all features with /info | Have fun!\r\n\r\nLeaderboard & Ranks @ https://aimtraining.net \r\nDiscord: discord.gg/bekermelk <- giveaways! \r\n\r\nRules: \r\n - Teaming is not allowed!\r\n - No Racism \r\n - No Advertising \r\n - No Bug Abusing",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776165116,
"score": 0,
"last_online": 1778178026,
"icon": null,
"name": "[AU] BekerMelk's Gun Aim Training Server | AimTrain | UkNL",
"connect": "139.99.144.133:28019",
"request": "139.99.144.133:28020",
"map": "BekerMelk Gun AimTraining.net",
"gamemode": "Survival",
"version": "2624",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766872446,
"last_update": 1778178026,
"banned": false,
"wipe": 1713783462,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1772,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10780760");
$data = json_decode($json, true);
var_dump($data);