Rust
API pentru [US] BekerMelk's Gun Aim Training Server | AimTrain | UkNL
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/441903json
{
"response": {
"fps": 75,
"fps_avg": 73,
"entities_count": 17870,
"world_seed": 1337,
"world_size": 3750,
"steam_id": "90285466863994897",
"domain": null,
"id": 441903,
"ip": "64.40.8.181",
"port": 28019,
"query": 28020,
"color": 0,
"city": "Dallas",
"description": "![[US] 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": 1775194330,
"score": null,
"last_online": 1778184616,
"icon": null,
"name": "[US] BekerMelk's Gun Aim Training Server | AimTrain | UkNL",
"connect": "64.40.8.181:28019",
"request": "64.40.8.181:28020",
"map": "BekerMelk Gun AimTraining.net",
"gamemode": "Survival",
"version": "2624",
"numplayers": 10,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1630779612,
"last_update": 1778184616,
"banned": false,
"wipe": 1713785020,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 723,
"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/441903");
$data = json_decode($json, true);
var_dump($data);