API dla Redemption Medium Solo Giftcard Prize At Wipe
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 193,
"fps_avg": 191,
"entities_count": 67417,
"world_seed": 50000,
"world_size": 3500,
"steam_id": "90286713420942344",
"domain": null,
"id": 11759259,
"ip": "157.85.87.198",
"port": 24101,
"query": 24102,
"project_id": null,
"color": 0,
"city": "Amsterdam",
"description": "Medium Sized Map with standard settings. A Prize of $50 in Steam Gift Cards will be awarded to the player who has been most active in the game . The highest stats in collecting, crafting, killing and time spent on the server by wipe time will be judged the winner. Please note that anyone trying to cheat on this server will be permanently banned. No teaming up please!,",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780931706,
"last_online": 1781358032,
"icon": null,
"name": "Redemption Medium Solo Giftcard Prize At Wipe",
"connect": "157.85.87.198:24101",
"request": "157.85.87.198:24102",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780931706,
"last_update": 1781358032,
"banned": false,
"wipe": 1780828347,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5942,
"language": "nl",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11759259");
$data = json_decode($json, true);
var_dump($data);