Soulmask
API pentru Soulmask Server by G-Portal.com
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11488793json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488793,
"ip": "176.57.181.117",
"port": 28700,
"query": 28715,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1776006696,
"score": 0,
"last_online": 1775833823,
"icon": null,
"name": "Soulmask Server by G-Portal.com",
"connect": "176.57.181.117:28700",
"request": "176.57.181.117:28715",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": null,
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775828506,
"last_update": 1776006696,
"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": 1907,
"language": "de",
"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/11488793");
$data = json_decode($json, true);
var_dump($data);