Soulmask
API pentru UNNAMED_SERVER
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10767961json
{
"response": {
"steam_id": "90284250193730568",
"domain": null,
"id": 10767961,
"ip": "210.131.214.34",
"port": 8777,
"query": 27015,
"color": 0,
"city": "Chiyoda City",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775952114,
"score": 0,
"last_online": 1776022889,
"icon": null,
"name": "UNNAMED_SERVER",
"connect": "210.131.214.34:8777",
"request": "210.131.214.34:27015",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766262427,
"last_update": 1776022889,
"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": 856,
"language": "ja",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10767961");
$data = json_decode($json, true);
var_dump($data);