Soulmask
API pentru FoxtrotGaming [PVE/U♡♡odded]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11488528json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11488528,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Maidenhead",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775692326,
"score": 0,
"last_online": 1775676638,
"icon": null,
"name": "FoxtrotGaming [PVE/U♡♡odded]",
"connect": null,
"request": null,
"map": "Level01_Main",
"gamemode": "00",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1775542348,
"last_update": 1775692326,
"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": 1903,
"language": "en",
"parked": true,
"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/11488528");
$data = json_decode($json, true);
var_dump($data);