Will To Live Online
API pentru RU-3 (PvP)
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10432488json
{
"response": {
"steam_id": "90285169076946953",
"domain": null,
"id": 10432488,
"ip": "176.114.86.167",
"port": 5303,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": null,
"game": 707010,
"owner": null,
"boosts": 1,
"last_offline": 1777545807,
"score": 0,
"last_online": 1777566014,
"icon": null,
"name": "RU-3 (PvP)",
"connect": "176.114.86.167:5303",
"request": "176.114.86.167:27015",
"map": "Master Server",
"gamemode": "Russia Server #3",
"version": "0.6.18",
"numplayers": 57,
"maxplayers": 74,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1759829528,
"last_update": 1777566014,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4,
"language": "ru",
"parked": false,
"app": {
"id": 18850,
"steam_id": 707010,
"name": "Will To Live Online",
"url": "will-to-live-online"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10432488");
$data = json_decode($json, true);
var_dump($data);